void-packages/srcpkgs/r2-bindings-git/template

46 lines
1.3 KiB
Plaintext
Raw Normal View History

2012-08-10 10:39:14 +02:00
# Template file for 'r2-bindings-git'
pkgname=r2-bindings-git
version="$(date -u +%Y%m%d)"
revision=1
nofetch=yes
noextract=yes
noverifyrdeps=yes
depends="radare2-git>=${version} python>=2.7.3"
makedepends="git pkg-config swig>=2.0.7 valabind-git>=${version}
python-devel radare2-devel-git>=${version}"
provides="r2-bindings-9999"
replaces="r2-bindings>=0"
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."
pycompile_module="r2"
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() {
cd r2-bindings && make ${makejobs}
}
do_install() {
cd r2-bindings && make DESTDIR=${DESTDIR} install
}