void-packages/srcpkgs/capstone/template

30 lines
772 B
Bash
Raw Normal View History

2014-12-07 20:06:01 +01:00
# Template file for 'capstone'
pkgname=capstone
2015-07-16 07:20:18 +02:00
version=3.0.4
revision=2
2014-12-07 20:06:01 +01:00
short_desc="Lightweight multi-platform, multi-architecture disassembly framework"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2014-12-07 20:06:01 +01:00
license="2-clause-BSD"
homepage="http://www.capstone-engine.org/"
distfiles="https://github.com/aquynh/${pkgname}/archive/${version}.tar.gz"
checksum=5d6dadf5864c56f8de66c66088fa68e849d0bff6577865a4f81b6f23112b14f2
2015-02-03 17:31:15 +01:00
2015-06-07 07:49:43 +02:00
do_build() {
make V=1 CC=$CC ${makejobs}
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
2015-02-03 17:31:15 +01:00
vlicense LICENSE.TXT LICENSE
}
2014-12-07 20:06:01 +01:00
capstone-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}