void-packages/srcpkgs/libx86/template

26 lines
710 B
Bash

# Template file for 'libx86'
pkgname=libx86
version=1.1
revision=7
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="Custom"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="http://www.codon.org.uk/~mjg59/libx86/downloads/libx86-$version.tar.gz "
checksum=5bf13104cb327472b5cb65643352a9138646becacc06763088d83001d832d048
only_for_archs="i686 x86_64 i686-musl x86_64-musl"
CFLAGS="-fPIC"
libx86-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}