void-packages/srcpkgs/liboil/template

38 lines
1.2 KiB
Text
Raw Normal View History

# Template build file for 'liboil'.
pkgname=liboil
version=0.3.17
revision=4
build_style=gnu-configure
hostmakedepends="pkg-config"
short_desc="Library of Optimized Inner Loops, CPU optimized functions"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="${XORG_HOME}"
license="BSD"
distfiles="http://liboil.freedesktop.org/download/$pkgname-$version.tar.gz"
checksum=105f02079b0b50034c759db34b473ecb5704ffa20a5486b60a8b7698128bfc69
long_desc="
Liboil is a library of simple functions that are optimized for various CPUs.
These functions are generally loops implementing simple algorithms, such as
converting an array of N integers to floating-poing numbers or multiplying
and summing an array of N numbers. Clearly such functions are candidates for
significant optimization using various techniques, especially by using
extended instructions provided by modern CPUs (Altivec, MMX, SSE, etc.)."
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
}
}
liboil_package() {
pkg_install() {
vmove all
}
}