void-packages/srcpkgs/libx86/template

30 lines
746 B
Bash

# Template file for 'libx86'
pkgname=libx86
version=1.1
revision=8
build_style=gnu-makefile
make_build_args="BACKEND=x86emu"
short_desc="Library for making real-mode x86 calls"
homepage="http://www.codon.org.uk/~mjg59/libx86/"
license="MIT"
maintainer="Leah Neukirchen <leah@vuxu.org>"
distfiles="${DEBIAN_SITE}/main/libx/libx86/libx86_${version}+ds1.orig.tar.bz2"
checksum=88036ba62465491b35cffa00dc6d9d07b6ee9610a41ae626779d264b418c8211
archs="i686* x86_64*"
CFLAGS="-fPIC -fno-delete-null-pointer-checks"
libx86-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}
post_install() {
vlicense COPYRIGHT
}