void-packages/srcpkgs/keystone/template

24 lines
729 B
Bash
Raw Normal View History

2016-05-31 17:05:45 +00:00
# Template file for 'keystone'
pkgname=keystone
2016-08-11 21:29:15 +00:00
version=0.9.1
2016-05-31 17:05:45 +00:00
revision=1
build_style=cmake
configure_args='-DBUILD_SHARED_LIBS=ON -DLLVM_TARGETS_TO_BUILD=all'
hostmakedepends="cmake python"
short_desc="Lightweight multi-platform, multi-architecture assembler framework"
maintainer="Michael Gehring <mg@ebfe.org>"
license="GPL-2"
homepage="http://www.keystone-engine.org/"
distfiles="https://github.com/keystone-engine/keystone/archive/${version}.tar.gz"
2016-08-11 21:29:15 +00:00
checksum=e9d706cd0c19c49a6524b77db8158449b9c434b415fbf94a073968b68cf8a9f0
2016-05-31 17:05:45 +00:00
keystone-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
2016-08-11 21:29:15 +00:00
vmove usr/lib/pkgconfig
2016-05-31 17:05:45 +00:00
}
}