mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-05 19:11:57 +02:00
lief: 0.10.1 bump
This commit is contained in:
parent
896fc9dbe1
commit
ef955b2251
3 changed files with 74 additions and 1 deletions
|
|
@ -1,2 +1,3 @@
|
|||
DIST lief-0.10.0.tar.gz 13155479 BLAKE2B 4b94c9bc7ee1e7f2bd621f52580aaeee302f396c865fb60e47e56646ceae7fd530b60ab5000ab31e64bfcb07e604620ccbe89deca80e2c1ef190d53c5569848e SHA512 51fcd21710dd7c603ebd0ebcc596f723906ababa67ee7433a4b2fc35f41965346978cd14126d59611bfc7544e1a7d77a6aeff0f3521981f29e5d3e06f7313f7f
|
||||
DIST lief-0.10.1.tar.gz 13155687 BLAKE2B bb3df4ac9d05430baf401e5e4790af2f623f83a901a00abe14352c65367dc77feb394abf7cdb03d98d0ab9dd3050d134f1e4e6614111e81bc5e4da5ffe71ce3f SHA512 08cc6374fa5026099e4d43cb6bcd6401a8eadb6ea9749f5cde09ce80a555eb5ebc05ef6db8f01085ff20d56ba506fa0ab07e8d5f2e12dea723bebeb0f93410e3
|
||||
DIST lief-0.9.0_p20190626.tar.gz 13133521 BLAKE2B b3bdd46535e894cf4989a52082d0763c2958eaca215fb5a69219f7d12d50a5c2e1f8bf0528ace5b81eeec19b732340959ff974cacbfd9097b59ddceae4a83520 SHA512 ee943b4048994b0969cb9e5a0ebc83e74d26a64752b3b098cd47dd261b01cee11b23b12bb058619aeffbe9673aa63f9a430c55f3ee249f410cca6cdad6a5e21a
|
||||
|
|
|
|||
72
dev-util/lief/lief-0.10.1.ebuild
Normal file
72
dev-util/lief/lief-0.10.1.ebuild
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
# Copyright 1999-2019 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python{3_5,3_6,3_7} )
|
||||
|
||||
inherit cmake-utils distutils-r1
|
||||
|
||||
DESCRIPTION="Library to instrument executable formats"
|
||||
HOMEPAGE="https://lief.quarkslab.com/"
|
||||
SRC_URI="https://github.com/lief-project/LIEF/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="examples +python static-libs"
|
||||
|
||||
RDEPEND="python? ( ${PYTHON_DEPS} )"
|
||||
DEPEND="${RDEPEND}
|
||||
python? ( dev-python/setuptools[${PYTHON_USEDEP}] )"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
CMAKE_BUILD_TYPE=
|
||||
|
||||
S=${WORKDIR}/LIEF-${PV}
|
||||
|
||||
wrap_python() {
|
||||
if use python; then
|
||||
# pushd "${BUILD_DIR}"/api/python >/dev/null || die
|
||||
distutils-r1_${1} "$@"
|
||||
# popd >/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
#fix multilib
|
||||
sed -i "s/DESTINATION lib/DESTINATION $(get_libdir)/" CMakeLists.txt || die
|
||||
cmake-utils_src_prepare
|
||||
# wrap_python ${FUNCNAME}
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
wrap_python ${FUNCNAME}
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
#cmake/LIEFOptions.cmake
|
||||
local FORCE32=NO
|
||||
use x86 && FORCE32=YES
|
||||
|
||||
#Do not install python using cmake
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS="$(usex static-libs OFF ON)"
|
||||
-DLIEF_EXAMPLES="$(usex examples ON OFF)"
|
||||
-DLIEF_PYTHON_API="$(usex python)"
|
||||
-DLIEF_INSTALL_PYTHON="OFF"
|
||||
-DLIEF_FORCE32="$FORCE32"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
wrap_python ${FUNCNAME}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
wrap_python ${FUNCNAME}
|
||||
}
|
||||
|
|
@ -19,7 +19,7 @@ dev-go/go-multierror
|
|||
=dev-go/cascadia-1.0*
|
||||
=dev-go/goquery-1.4*
|
||||
|
||||
~dev-go/go-tools-0_pre20180817
|
||||
~dev-go/go-tools-0_pre20190911
|
||||
~dev-go/go-net-0_pre20180816
|
||||
~dev-go/go-text-0.3.0
|
||||
~dev-go/go-sys-0_pre20180816
|
||||
|
|
|
|||
Loading…
Reference in a new issue