mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-17 04:10:58 +02:00
capstone: do not compile tests/* files.
This commit is contained in:
parent
e85b892186
commit
bfdcd47d8d
2 changed files with 15 additions and 2 deletions
|
|
@ -1,2 +1,2 @@
|
|||
DIST capstone-2.1.2.tar.gz 1366145 SHA256 5312ba5fc09fe193f7fc2fd6cbbc34b6ea7a7b002c0fd7acb2b38ee6c492fb9c SHA512 220d937b49a0716b633bc4ffe25c5db11812ec6343f76caa10fcd00f03507f636089d3ce90d5a0423a8b4d003a9f2f0cac16cb80908925393daa09f3d8449672 WHIRLPOOL fc2994b8bffc5a9f03ae4cecead1327e13b374e3e75b8c4f7dc2751be3a26d57420ed841d791543d664c26820d4a6ad433e440d63b404674e552ea0ba517cead
|
||||
EBUILD capstone-2.1.2.ebuild 697 SHA256 50cae069aa89e9cc2e2570421966c4a7dcf6d748707167040ba0e2ac3e6277a1 SHA512 ff087a6feb23b7130b7380e6fb3babcf26b486cbfa7af45b55b6e8495b994db2bae125fea26394fb9a066eede49bda5dcbbebd2d61a67515a51de0eab1d5b2da WHIRLPOOL ca90dc5445ea96adeea21bf474c2646e5e96765d9a9d84035e873f6ab68948477f6416b93e93f49bc798b111e8050134e1fa04f138e03b5ea9c21adf0024ac5e
|
||||
EBUILD capstone-2.1.2-r1.ebuild 1016 SHA256 2c051bf85c69cd9e430ab37f7df2544b6ea483dd37c30cdc3878ae8f7e724ca6 SHA512 dc21b3f433968727e66dda011b09667fb327fd71b377786e6afa38e28c9fe50ccd82dd5c6118c10e6b130ec0c13318df0c7a1a7ce99cc884d4e42820b517cfd2 WHIRLPOOL 7ebb21e589099b4d12ab430027484040b70b7f0090bbcf92a93afeb400114079196db0fecb7d93782935719be7fe70b17577ca09e3eecb22ac95400535c0e152
|
||||
|
|
|
|||
|
|
@ -20,9 +20,22 @@ DEPEND=""
|
|||
|
||||
#TODO: add java and ocaml bindings
|
||||
|
||||
src_prepare() {
|
||||
#upstream bug: https://github.com/aquynh/capstone/issues/92
|
||||
sed -i '/$(MAKE) -C tests/d' Makefile || die "sed failed"
|
||||
sed -i '/$(INSTALL_DATA) lib$(LIBNAME).$(EXT) tests/d' Makefile || die "sed failed"
|
||||
}
|
||||
|
||||
#Do not compile tests/* files. Let users do it
|
||||
#src_compile() {
|
||||
# emake
|
||||
# cd tests
|
||||
# emake
|
||||
#}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodir /usr/share/"${PN}"/
|
||||
cp -R "${S}/tests" "${D}/usr/share/${PN}/" || die "Install failed!"
|
||||
cp -R "${S}"/tests "${D}/usr/share/${PN}/" || die "Install failed!"
|
||||
dodoc README
|
||||
}
|
||||
Loading…
Reference in a new issue