void-packages/srcpkgs/r2-bindings/template

36 lines
1.1 KiB
Plaintext

# Template file for 'r2-bindings'
pkgname=r2-bindings
version=0.9.2
revision=1
wrksrc="radare2-${version}"
makedepends="pkg-config swig>=2.0.7 valabind>=0.7.2
python-devel radare2-devel>=${version}"
short_desc="Advanced command line debugger and hexadecimal editor (bindings)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-3"
homepage="http://radare.org"
distfiles="${homepage}/get/radare2-${version}.tar.gz"
checksum=5f73a41c36182a5f970c60ab1287958f785f35cf41e0a02c8c759f6003b8c52c
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."
pycompile_module="r2"
do_configure() {
cd r2-bindings
./configure --prefix=/usr --enable=python --enable-devel
}
do_build() {
cd r2-bindings && make ${makejobs}
}
do_install() {
cd r2-bindings && make DESTDIR=${DESTDIR} install
}