2009-04-24 23:53:45 +00:00
|
|
|
# Template build file for 'liboil'.
|
|
|
|
pkgname=liboil
|
2011-07-02 06:14:34 +00:00
|
|
|
version=0.3.17
|
2013-11-27 10:05:50 +00:00
|
|
|
revision=4
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-04-13 08:15:49 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2009-04-24 23:53:45 +00:00
|
|
|
short_desc="Library of Optimized Inner Loops, CPU optimized functions"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-07-02 06:14:34 +00:00
|
|
|
homepage="${XORG_HOME}"
|
|
|
|
license="BSD"
|
2013-04-13 08:15:49 +00:00
|
|
|
distfiles="http://liboil.freedesktop.org/download/$pkgname-$version.tar.gz"
|
|
|
|
checksum=105f02079b0b50034c759db34b473ecb5704ffa20a5486b60a8b7698128bfc69
|
2009-04-24 23:53:45 +00:00
|
|
|
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.)."
|
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
liboil-devel_package() {
|
2013-11-27 10:05:50 +00:00
|
|
|
depends="liboil>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
2013-11-27 10:05:50 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
}
|
|
|
|
}
|