void-packages/srcpkgs/radare2-git/template
2013-08-12 16:29:14 +02:00

37 lines
818 B
Text

# Template file for 'radare2-git'
pkgname=radare2-git
version=20130812
revision=1
build_style=gnu-configure
short_desc="Advanced command line debugger and hexadecimal editor (git snapshot)"
maintainer="pancake <pancake@nopcode.org>"
license="LGPL-3"
homepage="http://radare.org"
nofetch=yes
noextract=yes
do_fetch() {
local url="git://github.com/radare/radare2"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
radare2-devel-git_package() {
replaces="radare2-devel>=0"
provides="radare2-devel-9999"
depends="radare2-git>=$version"
short_desc="${short_desc} - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}
radare2-git_package() {
pkg_install() {
vmove usr
}
}