void-packages/srcpkgs/keystone/template

24 lines
725 B
Bash

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