mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-09 04:51:27 +02:00
ffuf: 0.12 bump
This commit is contained in:
parent
4da760989c
commit
b8d23661bc
3 changed files with 1 additions and 75 deletions
|
|
@ -1,74 +0,0 @@
|
|||
# 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
|
||||
|
||||
HASH_COMMIT="f5d152ee92bb243adb4d559da6d081c6c8776977"
|
||||
|
||||
DESCRIPTION="Library to instrument executable formats"
|
||||
HOMEPAGE="https://lief.quarkslab.com/"
|
||||
SRC_URI="https://github.com/lief-project/LIEF/archive/${HASH_COMMIT}.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-${HASH_COMMIT}
|
||||
|
||||
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}
|
||||
}
|
||||
|
|
@ -1,2 +1,2 @@
|
|||
DIST ffuf-0.10.tar.gz 17178 BLAKE2B 08cbc35e86577c93ab500244919433e4bbbfd7bce67901adea09bfc8deca35a8a7e2c82e4650717aea10201ec87f08bdd92ee05aee62336fac833c20c8e52e51 SHA512 a4b635d3f4c2e9b407d168774071482a73d56a4a2474d595445c242fbdf2fca4d30a005b200c6079bff7af2b376e5ed629f787d0c66cf07349aaa62981e00e16
|
||||
DIST ffuf-0.11.tar.gz 22059 BLAKE2B fa4da5437cac7df5c88ee56ece7cd626a57f6ef9eb6473b7595a9cf265791879a906e0bc6a24d5f7350049c69f7a1619772ea85a24fb637437c4ee1ee7e8d456 SHA512 3e6b6386f91e68d877968965aa23e7a37eeb2767a87d5efec2c03d3b00d6c0d205ee4076c8c989959f1bb5d4e874af02298a4308a1c080beca518ab9f604b703
|
||||
DIST ffuf-0.12.tar.gz 24109 BLAKE2B b9c767c5657befc06bcb5abdfac6509e1efe4f33bc0fc31e39c3978b162d7743d9f88a703baf3902e5d2554f32a39a299e2c88c24bee67d31f77c59c08ab6252 SHA512 7feb812ce8f59707b07e9edaee2037a9a33088cc79bbaa5b78a07b137b0144fdff06962d53ab46b8e65fcacfef31fbda118ffb052414a5803d6ba650318b4fd4
|
||||
|
|
|
|||
Loading…
Reference in a new issue