mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-30 20:35:28 +01:00
radare2-bindings: fix ruby deps
This commit is contained in:
parent
42b18275f8
commit
ecb6bcd65a
4 changed files with 2 additions and 66 deletions
|
|
@ -1,3 +1,2 @@
|
|||
DIST radare2-bindings-1.4.0.tar.gz 1171161 SHA256 0abd4c854db4932cf16d6b044ac11382f63b97779f9c5bea9167d6be1e14391c SHA512 fbc5276b5480f94230c694e9a1aad3554f96323002c84e8e7c995025d7c0f301c270bae75c728d6ade1bffc9201ef8d1a4e27a01ec2bf2a49459cd7fb4d9dfbc WHIRLPOOL 0480405df2b7dda72eedd53bbdb3a7838c6005780a9ae682d73e52d5f1a913076ed8396f2486097661debd900036b832fe0ca30c52db419251fb46284fe55eb7
|
||||
DIST radare2-bindings-1.5.0.tar.gz 1176535 SHA256 466ec7c80f849b0a0460943bdf0a4ae0f1195f7e0cd6173a350c0e25b370a262 SHA512 0d1ee1645e41b7383980d59c495ad8122f50eba669da4bfa314f34ca28cf70b11472a8511fb427c7fccddf51e14c994a2fd2da0c8adbab6ee62fb8b128046074 WHIRLPOOL 6acded3bed2af0468541f6297053fc23a30976c958a40a9e00b26b852303558f93ed910e19f50014782f93afd21653cc876c463c567d0b4740b0b373b709f1f7
|
||||
DIST radare2-bindings-1.6.0.tar.gz 1197753 SHA256 abc320c4f5353f15d96a40329349253f140f0921074f0d0dbee6b3cb9f0067b8 SHA512 4e5c8b80df838dd9ee778f4e5828dc2b45495570e21f08f0a1763e210c2a5f4ba8c481d97be610541ffa93dfff227701acc5725f93a37c2c2926f55490686f13 WHIRLPOOL 0e7c5b543536cc8e08796f812952bf1723c3a5cf8550e86745a6b61032a7c72672de39f6c6e61b0f3dd39a2e84cce827f1ea035d38478cac26f8e8137afc9d76
|
||||
|
|
|
|||
|
|
@ -1,63 +0,0 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit eutils python-single-r1
|
||||
|
||||
DESCRIPTION="Language bindings for radare2"
|
||||
HOMEPAGE="http://www.radare.org"
|
||||
HOMEPAGE="https://github.com/radare/radare2-bindings"
|
||||
SRC_URI="https://github.com/radare/radare2-bindings/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
#full set: "ctypes cxx guile java lua node-ffi perl php5 python ruby"
|
||||
IUSE="ctypes cxx guile lua perl php5 python ruby"
|
||||
|
||||
#QA_MULTILIB_PATHS="usr/lib/ruby/1.9.1/r2/.*"
|
||||
|
||||
RDEPEND="
|
||||
cxx? ( sys-devel/gcc:*[cxx] )
|
||||
perl? ( dev-lang/perl )
|
||||
guile? ( dev-scheme/guile:* )
|
||||
lua? ( >=dev-lang/lua-5.1.4:* )
|
||||
php5? ( >=dev-lang/php-5.3.8:* )
|
||||
ruby? ( || ( dev-lang/ruby:2.1 dev-lang/ruby:2.2 ) )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
~dev-util/radare2-${PV}
|
||||
virtual/pkgconfig
|
||||
dev-util/valabind
|
||||
dev-lang/swig"
|
||||
|
||||
src_prepare(){
|
||||
epatch "${FILESDIR}/01_use_python_2.7.patch"
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure(){
|
||||
local myconf
|
||||
local mylang
|
||||
|
||||
use php5 && myconf="php"
|
||||
|
||||
for mylang in ctypes cxx guile lua perl python ruby; do
|
||||
if use $mylang; then
|
||||
[ -z "$myconf" ] || myconf+=","
|
||||
myconf+="$mylang"
|
||||
fi
|
||||
done
|
||||
|
||||
#not included languages will be disabled
|
||||
econf --enable="$myconf"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# emake install INSTALL_ROOT="${D}"
|
||||
default
|
||||
python_optimize
|
||||
}
|
||||
|
|
@ -25,7 +25,7 @@ RDEPEND="
|
|||
guile? ( dev-scheme/guile:* )
|
||||
lua? ( >=dev-lang/lua-5.1.4:* )
|
||||
php5? ( >=dev-lang/php-5.3.8:* )
|
||||
ruby? ( || ( dev-lang/ruby:2.1 dev-lang/ruby:2.2 ) )
|
||||
ruby? ( dev-lang/ruby:* )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ RDEPEND="
|
|||
guile? ( dev-scheme/guile:* )
|
||||
lua? ( >=dev-lang/lua-5.1.4:* )
|
||||
php5? ( >=dev-lang/php-5.3.8:* )
|
||||
ruby? ( || ( dev-lang/ruby:2.1 dev-lang/ruby:2.2 ) )
|
||||
ruby? ( dev-lang/ruby:* )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
Loading…
Reference in a new issue