radare2: v2.7.0 bump

This commit is contained in:
blshkv 2018-07-12 00:10:17 +08:00
parent 1bd9deb068
commit a5339e5c00
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
2 changed files with 61 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST radare2-2.6.9.tar.gz 6476948 BLAKE2B 9e467250389483d1a64fa441ee2c6104c9762a1dcab5d72e75c1a5900d439aff8fe8b0c63733f0e2629aadb01e866bbe1206d0e5eff0fd20cedc031baccb198f SHA512 7493563c509350eb6dcefc98a6ce9767aee58f84aacb843110f5d5239f2597b707615af228fef777e37ed13a6232dbf2f3aa959f05f67902553537ecfe75482a
DIST radare2-2.7.0.tar.gz 6483865 BLAKE2B 4052a601eb154240fb57c64bf2351063685a25e7d8ca46ad721398cd98b5e8bbec6a6daccb9f2df8e222bad74a0ffb4edc72186d7ca51b69ffbf480a7eb576ba SHA512 4a40e4917967aeef34de6ea69dd3c6d07a215e1f1272221db9af92d898e2d44997e339016b3342d69a276eb99f2d0a1e640ce8e9c889fe728dd86865e917a0fd

View file

@ -0,0 +1,60 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
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 ~x86 ~arm ~arm64"
fi
LICENSE="GPL-2"
SLOT="0"
IUSE="ssl libressl"
#a specific capstone is required, see /shlr/capstone.sh, Makefile
#https://github.com/radare/radare2/issues/10634
RDEPEND="
|| ( <dev-libs/capstone-4.0_alpha5 >dev-libs/capstone-4.0_alpha5 )
ssl? (
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
)
"
DEPEND="${RDEPEND}
virtual/pkgconfig
"
#PATCHES=( "${FILESDIR}/ee2f84873187b4872d195111813d0cb906a8f5fe.patch" )
src_configure() {
econf \
--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
}