void-packages/srcpkgs/keystone/template
2016-05-31 19:27:06 +02:00

23 lines
701 B
Bash

# Template file for 'keystone'
pkgname=keystone
version=0.9
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"
checksum=94c58243dae1ec65a97d2ba02abb2323b4e5c82501eb7f8cfd85b460a0194157
keystone-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}