mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-02-24 08:31:16 +01:00
lief: copy eggs to homedir for offline installation
This commit is contained in:
parent
8022819161
commit
ec3bcc2386
1 changed files with 9 additions and 2 deletions
|
|
@ -9,8 +9,8 @@ inherit distutils-r1
|
|||
DESCRIPTION="Library to instrument executable formats"
|
||||
HOMEPAGE="https://lief.quarkslab.com/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip
|
||||
https://github.com/lief-project/LIEF/releases/download/0.9.0/lief-0.9.0-py2.7-linux.egg
|
||||
https://github.com/lief-project/LIEF/releases/download/0.9.0/lief-0.9.0-py3.6-linux.egg"
|
||||
https://github.com/lief-project/LIEF/releases/download/${PV}/${P}-py2.7-linux.egg
|
||||
https://github.com/lief-project/LIEF/releases/download/${PV}/${P}-py3.6-linux.egg"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
|
@ -22,6 +22,13 @@ RDEPEND=""
|
|||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
src_prepare() {
|
||||
#copy symlinks to homedir for offline installation
|
||||
cp -s "${DISTDIR}"/${P}-py2.7-linux.egg "${HOME}"
|
||||
cp -s "${DISTDIR}"/${P}-py3.6-linux.egg "${HOME}"
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
dobin ${FILESDIR}/lief_inject.py
|
||||
Loading…
Reference in a new issue