26 lines
724 B
Bash
26 lines
724 B
Bash
# Template file for 'capstone'
|
|
pkgname=capstone
|
|
version=3.0.2
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
short_desc="Lightweight multi-platform, multi-architecture disassembly framework"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="2-clause-BSD"
|
|
homepage="http://www.capstone-engine.org/"
|
|
distfiles="http://www.capstone-engine.org/download/${version}/${pkgname}-${version}.tgz"
|
|
checksum=b1b512d1117ee606e58cff793de17bccbd47b0d59d3b269f8c4c3f04a6d117f7
|
|
|
|
post_install() {
|
|
vlicense LICENSE.TXT LICENSE
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|