diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2019-04-03 23:16:48 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2019-04-03 23:17:20 +0100 |
commit | c748c2935ee93c6f59eef9931897c472bbc3cb58 (patch) | |
tree | f4eaeee5eefe4315ce2a31d43fdb56f05060eac6 | |
parent | net-libs/nodejs: Version 6.17.1 (diff) | |
download | gentoo-c748c2935ee93c6f59eef9931897c472bbc3cb58.tar.gz gentoo-c748c2935ee93c6f59eef9931897c472bbc3cb58.tar.bz2 gentoo-c748c2935ee93c6f59eef9931897c472bbc3cb58.zip |
dev-util/radare2: bump up to 3.4.1
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rw-r--r-- | dev-util/radare2/Manifest | 1 | ||||
-rw-r--r-- | dev-util/radare2/radare2-3.4.1.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest index 41fe766351cf..4e0459e6c398 100644 --- a/dev-util/radare2/Manifest +++ b/dev-util/radare2/Manifest @@ -2,3 +2,4 @@ DIST radare2-3.1.3.tar.gz 6662694 BLAKE2B bb4cec7fd05e4d43473ef2e67e8284c4b6a856 DIST radare2-3.2.0.tar.gz 6690470 BLAKE2B edfa7d03d72ab3b7ebda6a2c860165c0c53836f4141674581c0f5f5cc1d6dc7a4ea48530d4825342268e057aeca458a0883f6fd70fb4a2d5d052634f32555442 SHA512 9773068568cf71797b0c86837188604130ef9d63e7b7fd115820d8979dde37d259aaea45002c9984e8c3599e9bade53720d3bb1b3635bdad5a2dc73aff54f048 DIST radare2-3.2.1.tar.gz 6690320 BLAKE2B b0c7db6741d463055d054add112a67378f9f2fae34fabd2848bfffebd44308d0e6fefefa6dd7383ad1b508daed8f388a1538debbf0ae4289130b9c06bfd3f3ae SHA512 4f8c64eb02a80ae5e7adce1322d16f08a250be21c674a8f6f0271bfdc8dc41a6f4ef50fef36e012733db5008cffb356489beef9e9b82300372350bef81e13afa DIST radare2-3.3.0.tar.gz 6730482 BLAKE2B c6e5ad73d9e34986ba86b73e8410d45c3f99f89a567de85ae22314fd120f358db39a5f8ac9d64af027eb5c7223564d003865f2c8be6ee0a331936e46d02145d8 SHA512 4db9d547b72b952babfd67c8cef2b94fdac9d6fd1194fb50b2ebab538d5bbda0bab4b704d5af64ef684ce9311634c8e04465906a1e7e706b211427054fe0721a +DIST radare2-3.4.1.tar.gz 7034801 BLAKE2B 7747af8e51c1120ef683884950e0e9e7581627906487449c81decd25b4d4a8ee5222892c42ba66d1a1d0b373b71ee6bf967df6ef117d30b171cf31740ac3058b SHA512 8803d54a8158aedd5900792bd013dad440a14abbb6fcbdf963e5d9031f30e66865479f29877e6f656ab01b59b3138458daf52f1eaeb462ec767c128d0b12640a diff --git a/dev-util/radare2/radare2-3.4.1.ebuild b/dev-util/radare2/radare2-3.4.1.ebuild new file mode 100644 index 000000000000..0b3f4cfb432b --- /dev/null +++ b/dev-util/radare2/radare2-3.4.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit bash-completion-r1 eutils + +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 ~arm ~arm64 ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="ssl libressl" + +RDEPEND=" + dev-libs/capstone:0= + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_configure() { + econf \ + --without-libuv \ + --with-syscapstone \ + $(use_with ssl openssl) +} + +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 +} |