Added liboil-0.3.16 template.

--HG--
extra : convert_revision : 96fbd779c71c8a5647ee6e9911946efa05a3ffcd
This commit is contained in:
Juan RP 2009-04-25 01:53:45 +02:00
parent 5bb2db0b22
commit 6554522117
4 changed files with 42 additions and 0 deletions

1
templates/liboil-devel Symbolic link
View File

@ -0,0 +1 @@
liboil

2
templates/liboil/depends Normal file
View File

@ -0,0 +1,2 @@
abi_depends=0.3.16
api_depends=${abi_depends}

View File

@ -0,0 +1,19 @@
# Template file for 'liboil-devel'.
#
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run liboil
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mkdir -p ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share
}

20
templates/liboil/template Normal file
View File

@ -0,0 +1,20 @@
# Template build file for 'liboil'.
pkgname=liboil
sourcepkg=$pkgname
version=0.3.16
distfiles="http://liboil.freedesktop.org/download/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="Library of Optimized Inner Loops, CPU optimized functions"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=009115b0fc888dfe28903fecfe806707c544ccad6554ebabdeb3a1d88ec1e9d1
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.)."
subpackages="devel"
Add_dependency build pkg-config
Add_dependency full glibc