# Template file for 'libx86'
pkgname=libx86
version=1.1
revision=5
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@gmail.com>"
distfiles="http://www.codon.org.uk/~mjg59/libx86/downloads/libx86-$version.tar.gz "
checksum=5bf13104cb327472b5cb65643352a9138646becacc06763088d83001d832d048
long_desc="
 A library to provide support for making real-mode x86 calls with an emulated
 x86 processor."

libx86-devel_package() {
	depends="libx86>=${version}"
	short_desc+=" -- development files"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.a"
	}
}

libx86_package() {
	pkg_install() {
		vmove usr
	}
}
