2012-10-11 09:49:59 +00:00
|
|
|
# Template file for 'r2-bindings'
|
|
|
|
pkgname=r2-bindings
|
2013-03-26 13:18:06 +00:00
|
|
|
version=0.9.4
|
2012-10-11 09:49:59 +00:00
|
|
|
revision=1
|
|
|
|
wrksrc="radare2-${version}"
|
|
|
|
short_desc="Advanced command line debugger and hexadecimal editor (bindings)"
|
2013-03-26 13:18:06 +00:00
|
|
|
maintainer="pancake <pancake@nopcode.org>"
|
2012-10-11 09:49:59 +00:00
|
|
|
license="LGPL-3"
|
2013-03-26 13:18:06 +00:00
|
|
|
homepage="http://www.radare.org"
|
2012-10-11 09:49:59 +00:00
|
|
|
distfiles="${homepage}/get/radare2-${version}.tar.gz"
|
2013-03-26 13:18:06 +00:00
|
|
|
checksum=7af3413f736b979dbf5db3688e9bc3052879a28428ac4f10086fa7f93cba5de0
|
2012-10-11 09:49:59 +00:00
|
|
|
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 09:53:56 +00:00
|
|
|
makedepends="pkg-config swig>=2.0.7 valabind>=0.7.2
|
|
|
|
python-devel radare2-devel>=${version}"
|
2012-10-11 09:49:59 +00:00
|
|
|
|
|
|
|
do_configure() {
|
|
|
|
cd r2-bindings
|
|
|
|
./configure --prefix=/usr --enable=python --enable-devel
|
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
2013-04-14 09:53:56 +00:00
|
|
|
cd r2-bindings
|
|
|
|
make ${makejobs}
|
2012-10-11 09:49:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
2013-04-14 09:53:56 +00:00
|
|
|
cd r2-bindings
|
|
|
|
make DESTDIR=${DESTDIR} install
|
|
|
|
}
|
|
|
|
|
|
|
|
r2-bindings_package() {
|
|
|
|
pycompile_module="r2"
|
|
|
|
depends="radare2-devel-${version}*"
|
|
|
|
noverifyrdeps=1
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
2012-10-11 09:49:59 +00:00
|
|
|
}
|