void-packages/srcpkgs/udis86/template

28 lines
688 B
Bash

# Template file for 'udis86'
pkgname=udis86
version=1.7.2
revision=3
build_style=gnu-configure
hostmakedepends="python"
configure_args="--enable-shared"
short_desc="Disassembler Library for x86 and x86-64"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="BSD"
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}"
pkg_install() {
vmove usr/include
vmove usr/lib
}
}