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)"
|
2013-03-27 11:49:48 +00:00
|
|
|
maintainer="pancake <pancake@nopcode.org>"
|
2012-07-11 11:18:24 +00:00
|
|
|
license="LGPL-3"
|
|
|
|
homepage="http://radare.org"
|
2013-04-14 09:53:56 +00:00
|
|
|
|
2012-09-17 08:50:16 +00:00
|
|
|
|
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}
|
|
|
|
}
|
2013-04-14 09:53:56 +00:00
|
|
|
|
|
|
|
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"
|
2013-04-14 09:53:56 +00:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
radare2-git_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|