# Template file for 'rdis-git'
pkgname=rdis-git
version=20130209
revision=1
makedepends="pkg-config gtk+3-devel jansson-devel LuaJIT-devel udis86-devel openssl-devel"
short_desc="A binary analysis tool for linux"
maintainer="pancake <pancake@nopcode.org>"
license="GPL-3"
homepage="http://rainbowsandpwnies.com/rdis/"

nofetch=yes
noextract=yes

do_fetch() {
	_githead=adce24f08ffd4e59083a70bba0e86cd8371212d9
        git clone git://github.com/endeav0r/rdis.git ${pkgname}-${version}
	cd ${pkgname}-${version} ; git reset --hard ${_githead}
}

do_build() {
	make ${makejobs}
}

do_install() {
	vinstall src/rdis 755 usr/bin
}

rdis-git_package() {
	pkg_install() {
		vmove usr
	}
}
