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