diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-15 17:25:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-15 17:25:28 +0000 |
commit | 6b933047f46efec1aa747570f945344254227457 (patch) | |
tree | a12a4b87b38f954c4de435272cf4b90d721df5e8 /dev-util/radare2 | |
parent | f45955e60d4da9b7f4a1088c98042f9c06669039 (diff) |
gentoo resync : 15.12.2017
Diffstat (limited to 'dev-util/radare2')
-rw-r--r-- | dev-util/radare2/Manifest | 1 | ||||
-rw-r--r-- | dev-util/radare2/radare2-2.1.0-r2.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest index 9e5081f28053..3e5f4f5a0193 100644 --- a/dev-util/radare2/Manifest +++ b/dev-util/radare2/Manifest @@ -1,6 +1,7 @@ AUX radare2-0.9.9-nogit.patch 352 BLAKE2B b65dd677a246bfd47205061d41f731e5b3ae477946e8b5b1fec6a19aa54fb2bf307ae4421c74ae38049f259476b43897968670c5a5b34808d37de5623ba620c0 SHA512 5a84c2f768b60dc6ffb35130f409714e0ffc4cbc6fb9e08bc4bf86d28651060398d809fed8abafcd56cabde86aa9e8672df77212f0d8c0b6dfc056b243e1c270 DIST radare2-2.1.0.tar.gz 5954222 BLAKE2B 9128a01d40ef1401d457f1fa5610ad7bbda92021e6e16fd70e9488bdb11be923c3d0f453e49a7bf78203c320ec2f1b2276925db2ae6eeaad90100ae0c2724b56 SHA512 38a907834e21967a83943e62cb29d8097e0522ff71ea61a2e3ab9e5263c3884ce28c17fb3ca9201c2b9f341e1b066ed0899e5152e146e61fc4f650f319299cd0 EBUILD radare2-2.1.0-r1.ebuild 1220 BLAKE2B 76313607d2fb45d2a0ce0db3e7ed7ac352c104d96de717fd8303d20c559e1e366356aa618ebd5da7d72c79d33e231ac2020d0147f9522f115fc3a9770de97c1f SHA512 c5596fbba68cf04c21bc836b1bbd7a9cd96b0525132394a6a3c376f7b656533524f44037be404e40abe039afe0170ae5a1ec312ffb058679ff2b6f0180f2ca7d +EBUILD radare2-2.1.0-r2.ebuild 1123 BLAKE2B 898025c7cf1c5aeaeb87ef5dfe49e61a5c3ae4f38447020a22b206bf86598d5e1c524aef2b3ce7ffae29c8bd570067b96b39b8af3d6d3e44d407cf9e7064540b SHA512 db8a11770b76a79aaa89bb0c851d96d6e7d9ec3aa66318177bc2ec42091ad2787b858e1607c74c2e52e2e00c0e455301eec82fe475c54d1fdb095a1e5c95c339 EBUILD radare2-2.1.0.ebuild 1101 BLAKE2B 95b47781088e5ed9f60e3e03c077210c392d4c858b6cb9ba453f1a77413e317cac19b06671aeda1d478d804e6a810aa5c76fb46586346e9f5924f602d4363c7d SHA512 c427dc6275301d0a4dc98ceb765369ec677e09c2db0aaf6563d5349584e03222a6d1732d8979a3366af55d27c0bb8fb991af028c56a7130c89d1b49467ae153c EBUILD radare2-9999.ebuild 1100 BLAKE2B 3dd09be4a69f5d2b89cbf069148cc12e6f57b7dc476aed4ed5dca5b12a0edc0f712d17cec93b56a3f936bd190edc8c54c4705421a6f819ca18da26ac6bdd0a9e SHA512 960f6846a24780b390e10f090c0678cd6c2295d9dcc4597d55972d158b580b05206b291e5608ee5452d5b269d0eed679b60ddf5d4a123fae7fab382c02fad9c3 MISC metadata.xml 472 BLAKE2B 9eac8a52ecd7dae41e0cd32ff13bc02d7c936d0d36bf52309d28b9d03168ec55655ce3588df2c330c08f0779fc8c1a095c972cd6ee3deecb68a9c333d4811421 SHA512 110f9ec2d6dddd20703b9cf6ec8cd77e2459f67aca74065211dc30888cea9c9154128da8a2f15810063de9c4867e3e1a31658d3c5cb27be44824342784b67365 diff --git a/dev-util/radare2/radare2-2.1.0-r2.ebuild b/dev-util/radare2/radare2-2.1.0-r2.ebuild new file mode 100644 index 000000000000..ca264b48b2bf --- /dev/null +++ b/dev-util/radare2/radare2-2.1.0-r2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils bash-completion-r1 + +DESCRIPTION="unix-like reverse engineering framework and commandline tools" +HOMEPAGE="http://www.radare.org" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/radare/radare2" +else + SRC_URI="https://github.com/radare/radare2/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86 ~arm ~arm64" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="ssl +system-capstone" + +RDEPEND=" + ssl? ( dev-libs/openssl:0= ) + system-capstone? ( dev-libs/capstone:0= ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +src_configure() { + econf \ + $(use_with ssl openssl) \ + $(use_with system-capstone syscapstone) +} + +src_install() { + default + + insinto /usr/share/zsh/site-functions + doins doc/zsh/_* + + newbashcomp doc/bash_autocompletion.sh "${PN}" + bashcomp_alias "${PN}" rafind2 r2 rabin2 rasm2 radiff2 + + # a workaround for unstable $(INSTALL) call, bug #574866 + local d + for d in doc/*; do + if [[ -d $d ]]; then + rm -rfv "$d" || die "failed to delete '$d'" + fi + done +} |