diff --git a/templates/liboil-devel b/templates/liboil-devel new file mode 120000 index 00000000000..f8111a015a7 --- /dev/null +++ b/templates/liboil-devel @@ -0,0 +1 @@ +liboil \ No newline at end of file diff --git a/templates/liboil/depends b/templates/liboil/depends new file mode 100644 index 00000000000..16316c4bcd7 --- /dev/null +++ b/templates/liboil/depends @@ -0,0 +1,2 @@ +abi_depends=0.3.16 +api_depends=${abi_depends} diff --git a/templates/liboil/devel.template b/templates/liboil/devel.template new file mode 100644 index 00000000000..3106bad9dbe --- /dev/null +++ b/templates/liboil/devel.template @@ -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 +} diff --git a/templates/liboil/template b/templates/liboil/template new file mode 100644 index 00000000000..7ebda84ced1 --- /dev/null +++ b/templates/liboil/template @@ -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 " +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