void-packages/srcpkgs/keystone/template

24 lines
723 B
Bash
Raw Normal View History

2016-05-31 19:05:45 +02:00
# Template file for 'keystone'
pkgname=keystone
2016-08-11 23:29:15 +02:00
version=0.9.1
2016-05-31 19:05:45 +02:00
revision=1
build_style=cmake
configure_args='-DBUILD_SHARED_LIBS=ON -DLLVM_TARGETS_TO_BUILD=all'
hostmakedepends="python"
2016-05-31 19:05:45 +02:00
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 23:29:15 +02:00
checksum=e9d706cd0c19c49a6524b77db8158449b9c434b415fbf94a073968b68cf8a9f0
2016-05-31 19:05:45 +02:00
keystone-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
2016-08-11 23:29:15 +02:00
vmove usr/lib/pkgconfig
2016-05-31 19:05:45 +02:00
}
}