void-packages/srcpkgs/capstone/template

27 lines
721 B
Text
Raw Normal View History

2014-12-07 19:06:01 +00:00
# Template file for 'capstone'
pkgname=capstone
2015-02-03 16:31:15 +00:00
version=3.0.1
2014-12-07 19:06:01 +00:00
revision=1
build_style=gnu-makefile
short_desc="Lightweight multi-platform, multi-architecture disassembly framework"
maintainer="Juan RP <xtraeme@gmail.com>"
license="2-clause-BSD"
homepage="http://www.capstone-engine.org/"
distfiles="http://www.capstone-engine.org/download/${version}/${pkgname}-${version}.tgz"
2015-02-03 16:31:15 +00:00
checksum=38fc736830de83ae345d917a6c122e2a09119ec5724b553174ddf84062cf2551
post_install() {
vlicense LICENSE.TXT LICENSE
}
2014-12-07 19:06:01 +00: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
}
}