void-packages/srcpkgs/radare2-git/template

37 lines
807 B
Text
Raw Normal View History

2012-07-11 11:18:24 +00:00
# Template file for 'radare2-git'
pkgname=radare2-git
version="$(date -u +%Y%m%d)"
revision=2
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"
nofetch=yes
noextract=yes
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"
vmove usr/lib/pkgconfig
}
}
radare2-git_package() {
pkg_install() {
vmove usr
}
}