void-packages/srcpkgs/capstone/template

23 lines
669 B
Plaintext

# Template file for 'capstone'
pkgname=capstone
version=3.0
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"
checksum=1deacc204f1b0b9df01b543cb1735bf8e857bc0783e6e4749c3760c62e0e7bf0
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
}
}