2014-12-07 19:06:01 +00:00
|
|
|
# Template file for 'capstone'
|
|
|
|
pkgname=capstone
|
2015-05-09 08:43:17 +00:00
|
|
|
version=3.0.3
|
2015-06-07 05:49:43 +00:00
|
|
|
revision=2
|
2014-12-07 19:06:01 +00:00
|
|
|
short_desc="Lightweight multi-platform, multi-architecture disassembly framework"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-12-07 19:06:01 +00:00
|
|
|
license="2-clause-BSD"
|
|
|
|
homepage="http://www.capstone-engine.org/"
|
|
|
|
distfiles="http://www.capstone-engine.org/download/${version}/${pkgname}-${version}.tgz"
|
2015-05-09 08:43:17 +00:00
|
|
|
checksum=fc2741e7bc5fb23e2f960a54da3fe9858cf01ff45a1cf9bacb88a5870d0dec6e
|
2015-02-03 16:31:15 +00:00
|
|
|
|
2015-06-07 05:49:43 +00:00
|
|
|
do_build() {
|
|
|
|
make V=1 CC=$CC ${makejobs}
|
|
|
|
}
|
|
|
|
do_install() {
|
|
|
|
make PREFIX=/usr DESTDIR=${DESTDIR} install
|
2015-02-03 16:31:15 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|