void-packages/srcpkgs/radare2-git/template

36 lines
792 B
Text
Raw Normal View History

2012-07-11 11:18:24 +00:00
# Template file for 'radare2-git'
pkgname=radare2-git
2013-08-12 14:29:14 +00:00
version=20130812
revision=1
2012-07-11 11:18:24 +00:00
build_style=gnu-configure
short_desc="Advanced command line debugger and hexadecimal editor (git snapshot)"
maintainer="pancake <pancake@nopcode.org>"
2012-07-11 11:18:24 +00:00
license="LGPL-3"
homepage="http://radare.org"
2012-07-11 11:18:24 +00:00
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"
2013-08-12 14:29:14 +00:00
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}
radare2-git_package() {
pkg_install() {
vmove usr
}
}