mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-05 11:00:48 +02:00
radare2, r2-bindings, valabind: donated by XVilka
This commit is contained in:
parent
37dad7f80c
commit
014aa5c48d
9 changed files with 243 additions and 0 deletions
1
dev-libs/r2-bindings/Manifest
Normal file
1
dev-libs/r2-bindings/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
EBUILD r2-bindings-9999.ebuild 1779 RMD160 4888b6bca6873dee2208a50781ab5afab5237d1e SHA1 ea180627440dfb7143eb748863c8c5fbd5287944 SHA256 30e94213763dc24b4a744211c85c627ca2894efc246eb3c896a767238ff05894
|
||||
82
dev-libs/r2-bindings/r2-bindings-9999.ebuild
Normal file
82
dev-libs/r2-bindings/r2-bindings-9999.ebuild
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header:
|
||||
# /var/cvsroot/gentoo-x86/dev-util/r2-bindings/r2-bindings-9999.ebuild,v 1.0 2011/12/12 06:20:21 akochkov Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit base eutils mercurial python
|
||||
|
||||
DESCRIPTION="Language bindings for radare2"
|
||||
HOMEPAGE="http://www.radare.org"
|
||||
EHG_REPO_URI="http://radare.org/hg/radare2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="cxx python perl php lua nodejs guile ruby"
|
||||
|
||||
RDEPEND="perl? ( dev-lang/perl )
|
||||
php? ( >=dev-lang/php-5.3.8 )
|
||||
lua? ( >=dev-lang/lua-5.1.4 )
|
||||
nodejs? ( dev-lang/nodejs )
|
||||
guile? ( dev-scheme/guile )
|
||||
ruby? ( >=dev-lang/ruby-1.8.7 )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/radare2
|
||||
dev-util/pkgconfig
|
||||
dev-util/valabind
|
||||
dev-lang/swig
|
||||
>=dev-lang/vala-0.14"
|
||||
|
||||
PYTHON_DEPEND="python? 2:2.7"
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cd "${S}/r2-bindings"
|
||||
econf --enable-devel
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# TODO: add another languages
|
||||
local lang_var
|
||||
|
||||
for lang_var in cxx python perl php lua nodejs guile ruby ; do
|
||||
if use ${lang_var} ; then
|
||||
if [[ ${lang_var} == php ]] ; then
|
||||
cd "${S}/r2-bindings/${lang_var}5"
|
||||
else
|
||||
cd "${S}/r2-bindings/${lang_var}"
|
||||
fi
|
||||
|
||||
[[ ${lang_var} == python ]] && export
|
||||
PYTHON_CONFIG=python2.7-config
|
||||
|
||||
emake || die "compile failed"
|
||||
fi
|
||||
done
|
||||
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# TODO: add another languages
|
||||
local lang_var
|
||||
|
||||
for lang_var in cxx python perl php lua nodejs guile ruby ; do
|
||||
if use ${lang_var} ; then
|
||||
if [[ ${lang_var} == php ]] ; then
|
||||
cd "${S}/r2-bindings/${lang_var}5"
|
||||
else
|
||||
cd "${S}/r2-bindings/${lang_var}"
|
||||
fi
|
||||
|
||||
[[ ${lang_var} == python ]] && export
|
||||
PYTHON_CONFIG=python2.7-config
|
||||
|
||||
emake DESTDIR="${ED}" install || die "compile failed"
|
||||
fi
|
||||
done
|
||||
}
|
||||
6
dev-util/radare2/Manifest
Normal file
6
dev-util/radare2/Manifest
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
DIST radare2-0.8.8.tar.gz 1636896 RMD160 964490bedf4d606ff665a2b90e5713251741e022 SHA1 ccefbbe6a100c197357a247e90144e06e6466188 SHA256 e715daeadf837b2ab6043c02ec1d5a90ba7b5bfe3050874c5d208b896f8c08d9
|
||||
DIST radare2-0.9.tar.gz 1721991 RMD160 f68ebf07ec62e907980e8f8bc195754bf993b466 SHA1 e77c85b001d9308f38a336b26544836fbe1d14dc SHA256 e12feea3b776601d7b680e64250897110cf4fca2f1214b4c527e13b7abe900e0
|
||||
EBUILD radare2-0.8.8.ebuild 768 RMD160 fbbee6dfdab26a43990112c6a9d625a95997ece9 SHA1 b8a4bf8cc6ab3c33a6d8c67f43890f596e4f89a6 SHA256 21aad3ec3cadaa3917d43b5b2a14f040bffc350cec0af623eb3902b063ca1cba
|
||||
EBUILD radare2-0.9.ebuild 768 RMD160 fbbee6dfdab26a43990112c6a9d625a95997ece9 SHA1 b8a4bf8cc6ab3c33a6d8c67f43890f596e4f89a6 SHA256 21aad3ec3cadaa3917d43b5b2a14f040bffc350cec0af623eb3902b063ca1cba
|
||||
EBUILD radare2-9999.ebuild 764 RMD160 3e541aad00f0219981135d6250a6c1634abf2639 SHA1 b41bd7a640e8065fd43cc8584428a3616e91a547 SHA256 7128de0af0ef8f4e1d40a0a15ad7abeb102d2d37a51220b04a1f783c0deeb433
|
||||
MISC metadata.xml 400 RMD160 ca5876eb42dedaa97f7e1161813d3fd871656257 SHA1 3e4ae5ba10cbeb4a1fbfb246d44e8884322726de SHA256 3cb6618513f20fe6a086c5f4931bd88e7cdf5bd721f0acb686641f1a1645b1f8
|
||||
16
dev-util/radare2/metadata.xml
Normal file
16
dev-util/radare2/metadata.xml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<use>
|
||||
<flag name="gui">
|
||||
Enable the graphical user interface of radare (broken)
|
||||
</flag>
|
||||
<flag name="vala">
|
||||
Enable support for the vala programming language
|
||||
</flag>
|
||||
</use>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
||||
35
dev-util/radare2/radare2-0.8.8.ebuild
Normal file
35
dev-util/radare2/radare2-0.8.8.ebuild
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/radare2/radare2-0.8.8.ebuild,v 1.0 2011/12/06 06:20:21 akochkov Exp $
|
||||
|
||||
EAPI="3"
|
||||
inherit base eutils
|
||||
|
||||
DESCRIPTION="Advanced command line hexadecimal editor and more"
|
||||
HOMEPAGE="http://www.radare.org"
|
||||
SRC_URI="http://www.radare.org/get/radare2-${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="readline"
|
||||
|
||||
RDEPEND="readline? ( sys-libs/readline )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with readline)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 || die "compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" install || die "install failed"
|
||||
}
|
||||
35
dev-util/radare2/radare2-0.9.ebuild
Normal file
35
dev-util/radare2/radare2-0.9.ebuild
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/radare2/radare2-0.8.8.ebuild,v 1.0 2011/12/06 06:20:21 akochkov Exp $
|
||||
|
||||
EAPI="3"
|
||||
inherit base eutils
|
||||
|
||||
DESCRIPTION="Advanced command line hexadecimal editor and more"
|
||||
HOMEPAGE="http://www.radare.org"
|
||||
SRC_URI="http://www.radare.org/get/radare2-${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="readline"
|
||||
|
||||
RDEPEND="readline? ( sys-libs/readline )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with readline)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 || die "compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" install || die "install failed"
|
||||
}
|
||||
35
dev-util/radare2/radare2-9999.ebuild
Normal file
35
dev-util/radare2/radare2-9999.ebuild
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/radare2/radare2-9999.ebuild,v 1.0 2011/12/06 06:20:21 akochkov Exp $
|
||||
|
||||
EAPI="3"
|
||||
inherit base eutils mercurial
|
||||
|
||||
DESCRIPTION="Advanced command line hexadecimal editor and more"
|
||||
HOMEPAGE="http://www.radare.org"
|
||||
EHG_REPO_URI="http://radare.org/hg/radare2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="readline"
|
||||
|
||||
RDEPEND="readline? ( sys-libs/readline )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with readline)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 || die "compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" install || die "install failed"
|
||||
}
|
||||
1
dev-util/valabind/Manifest
Normal file
1
dev-util/valabind/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
EBUILD valabind-9999.ebuild 756 RMD160 08d1d22b7af1bcffca58247ba5f09d1901cfae5d SHA1 950dc7e665021fc6c82dad77feb9c6ce17a24c38 SHA256 3abb6ad8f4e84cd1d811da85910a9833ce654859e8876492c460c4d96955aff6
|
||||
32
dev-util/valabind/valabind-9999.ebuild
Normal file
32
dev-util/valabind/valabind-9999.ebuild
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/valabind/valabind-9999.ebuild,v 1.0 2011/12/07 06:20:21 akochkov Exp $
|
||||
|
||||
EAPI="3"
|
||||
inherit base eutils mercurial
|
||||
|
||||
DESCRIPTION="Valabind is a tool to parse vala or vapi files to transform them into swig files"
|
||||
HOMEPAGE="http://hg.youterm.com/valabind"
|
||||
EHG_REPO_URI="http://hg.youterm.com/valabind"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/vala-0.14
|
||||
dev-lang/swig"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 || die "compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" install || die "install failed"
|
||||
}
|
||||
Loading…
Reference in a new issue