commit:     d15a7be1f9446b88a3f77c09f4de2272578df3e5
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Sat Feb 10 16:12:44 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Feb 15 18:07:27 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d15a7be1

dev-util/radare2: bump to 2.3.0

Closes: https://github.com/gentoo/gentoo/pull/7148

 dev-util/radare2/Manifest             |  1 +
 dev-util/radare2/radare2-2.3.0.ebuild | 56 +++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 9744ce2f744..5fa91b04586 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,2 +1,3 @@
 DIST radare2-2.1.0.tar.gz 5954222 BLAKE2B 
9128a01d40ef1401d457f1fa5610ad7bbda92021e6e16fd70e9488bdb11be923c3d0f453e49a7bf78203c320ec2f1b2276925db2ae6eeaad90100ae0c2724b56
 SHA512 
38a907834e21967a83943e62cb29d8097e0522ff71ea61a2e3ab9e5263c3884ce28c17fb3ca9201c2b9f341e1b066ed0899e5152e146e61fc4f650f319299cd0
 DIST radare2-2.2.0.tar.gz 6145228 BLAKE2B 
e85d2243b477f5e233d4cb1989452f3bce798e356b8022eaa7b90ca6027ee01365868c6b933a3c3470ef0d80e107d955d4127e55ee7664e829b44259facd1863
 SHA512 
e632ca3ffdeefc394e571b5ae7f0619cbbb93c657ff1ef316771e1d10089fbad98dc08b6e7d152e664a4c16e97d4519c1c6445fe737dbd4e3d296bc93c3ee410
+DIST radare2-2.3.0.tar.gz 6175929 BLAKE2B 
ac52ce32d4161b51adcc988a4adb02d02cef2e05bf90325f032585973874cdaa370f00a5f7734e7c00787beaf579c1745de27271c35f63f54d31003f6328c95a
 SHA512 
4b52ae3678c5bbba1d173f95715807469e88603067faf4f1058606a4235050ec07aebdb6408e24c0c031b9554b4ca095bf77fc2791a9efa498dfff49200b3b1d

diff --git a/dev-util/radare2/radare2-2.3.0.ebuild 
b/dev-util/radare2/radare2-2.3.0.ebuild
new file mode 100644
index 00000000000..2cf3090aec7
--- /dev/null
+++ b/dev-util/radare2/radare2-2.3.0.ebuild
@@ -0,0 +1,56 @@
+# 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 libressl +system-capstone"
+
+RDEPEND="
+       ssl? (
+               !libressl? ( dev-libs/openssl:0= )
+               libressl? ( dev-libs/libressl: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
+}

Reply via email to