# Template build file for 'liboil'.
pkgname=liboil
version=0.3.17
revision=5
build_style=gnu-configure
hostmakedepends="pkg-config"
short_desc="Library of Optimized Inner Loops, CPU optimized functions"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="${XORG_HOME}"
license="BSD"
distfiles="http://liboil.freedesktop.org/download/$pkgname-$version.tar.gz"
checksum=105f02079b0b50034c759db34b473ecb5704ffa20a5486b60a8b7698128bfc69

liboil-devel_package() {
	depends="liboil>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
		vmove usr/share/gtk-doc
	}
}
