diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-04-14 09:19:27 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-04-14 09:19:33 +0100 |
commit | 1aa3edf457ddeaef1e021e9c77e628eb0a3afe07 (patch) | |
tree | f76483c7f0ffb4103d46453913ef293c127bbed7 /dev-util/radare2 | |
parent | app-portage/nattka: Bump to 0.1.7 (diff) | |
download | gentoo-1aa3edf457ddeaef1e021e9c77e628eb0a3afe07.tar.gz gentoo-1aa3edf457ddeaef1e021e9c77e628eb0a3afe07.tar.bz2 gentoo-1aa3edf457ddeaef1e021e9c77e628eb0a3afe07.zip |
dev-util/radare2: bump up to 4.4.0
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-util/radare2')
-rw-r--r-- | dev-util/radare2/Manifest | 1 | ||||
-rw-r--r-- | dev-util/radare2/radare2-4.4.0.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest index 4f799ff613bf..c2feff6c5479 100644 --- a/dev-util/radare2/Manifest +++ b/dev-util/radare2/Manifest @@ -1 +1,2 @@ DIST radare2-4.3.1.tar.gz 8113591 BLAKE2B 289f6e4e3cb163017454918e7e5e31186cf41435f66a91ca5decf2819a06543908eeb3224041997eeba37e5bb7150874f431f301cf5f6aaa903601735e99d945 SHA512 06009dd2c75cfb2fcadd21041861f9569ff4b0b9438d1d5a1cf49ac8690ef041e18feb2445e6772acd0e217110328660e9de47db54d55c64f64764cb06988db8 +DIST radare2-4.4.0.tar.gz 8135544 BLAKE2B 1a1a4ce97dde4b8985cbe95bb889bfdef8f9d64e2c2257030fda523b1a1aced4e6681bc0f7b14d1a3f25fbce355f2062f0edc33ab396bef98792d29d1f708a11 SHA512 6208d97f8333e72dfd04cccdb0234b60fb8979ca559b92532bf7e47d402f91e0c54678a83e6bafee65666fb7d6008b44b961600f24f9b3275cb2eec32490eaa5 diff --git a/dev-util/radare2/radare2-4.4.0.ebuild b/dev-util/radare2/radare2-4.4.0.ebuild new file mode 100644 index 000000000000..c3c2387a8dcf --- /dev/null +++ b/dev-util/radare2/radare2-4.4.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 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/radareorg/radare2" +else + SRC_URI="https://github.com/radareorg/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 +} |