2012-08-10 10:39:14 +02:00
|
|
|
# Template file for 'r2-bindings-git'
|
|
|
|
pkgname=r2-bindings-git
|
2013-09-27 10:10:57 +02:00
|
|
|
version=20130927
|
2012-08-10 10:39:14 +02:00
|
|
|
revision=1
|
|
|
|
short_desc="Advanced command line debugger and hexadecimal editor (bindings, git snapshot)"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="LGPL-3"
|
|
|
|
homepage="http://radare.org"
|
|
|
|
long_desc="
|
|
|
|
It is composed by an hexadecimal editor (radare) with a wrapped IO layer
|
|
|
|
supporting multiple backends for local/remote files, accessing filesystems,
|
|
|
|
debugger (osx,bsd,linux,w32), stream analyzer, assembler/disassembler
|
|
|
|
(rasm) for x86,arm,ppc,m68k,java,msil,sparc, etc.
|
|
|
|
|
|
|
|
This package contains the radare2 bindings for multiple languages."
|
|
|
|
|
2013-04-14 11:53:56 +02:00
|
|
|
makedepends="pkg-config swig>=2.0.7 valabind-git>=${version}
|
|
|
|
python-devel radare2-devel-git>=${version}"
|
2012-08-10 10:39:14 +02:00
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
local url="git://github.com/radare/radare2"
|
|
|
|
msg_normal "Fetching source from $url ...\n"
|
|
|
|
git clone ${url} ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_configure() {
|
|
|
|
cd r2-bindings
|
|
|
|
./configure --prefix=/usr --enable=python --enable-devel
|
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
2013-04-14 11:53:56 +02:00
|
|
|
cd r2-bindings
|
|
|
|
make ${makejobs}
|
2012-08-10 10:39:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
2013-04-14 11:53:56 +02:00
|
|
|
cd r2-bindings
|
|
|
|
make DESTDIR=${DESTDIR} install
|
2012-08-10 10:39:14 +02:00
|
|
|
}
|
|
|
|
|
2013-04-14 11:53:56 +02:00
|
|
|
|
|
|
|
r2-bindings-git_package() {
|
|
|
|
replaces="r2-bindings>=0"
|
|
|
|
provides="r2-bindings-9999"
|
|
|
|
depends="radare2-git>=${version} python>=2.7.3"
|
|
|
|
pycompile_module="r2"
|
|
|
|
noverifyrdeps=yes
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|