void-packages/srcpkgs/udis86/template

28 lines
738 B
Bash

# Template file for 'udis86'
pkgname=udis86
version=1.7.2
revision=4
build_style=gnu-configure
configure_args="--enable-shared"
hostmakedepends="python"
short_desc="Disassembler Library for x86 and x86-64"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="http://udis86.sourceforge.net/"
distfiles=${SOURCEFORGE_SITE}/udis86/${pkgname}-${version}.tar.gz
checksum=9c52ac626ac6f531e1d6828feaad7e797d0f3cce1e9f34ad4e84627022b3c2f4
post_install() {
sed -n '0,/^$/p' libudis86/udis86.c > LICENSE
vlicense LICENSE
}
udis86-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}