29 lines
758 B
Bash
29 lines
758 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="http://deb.debian.org/debian/pool/main/libx/libx86/libx86_1.1+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
|
|
}
|