summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-02-11 07:20:20 (GMT)
committerCecil <knoppmyth@gmail.com>2011-02-11 07:20:20 (GMT)
commit35411fbced50b13f3ad35e056c8e28c01a161064 (patch)
tree1d09f9985ebbd1b413da509eff7dcb8185443c8d /abs
parenta140053d34ab2aeecf62e35608fa949c45bafd4f (diff)
downloadlinhes_pkgbuild-35411fbced50b13f3ad35e056c8e28c01a161064.zip
linhes_pkgbuild-35411fbced50b13f3ad35e056c8e28c01a161064.tar.gz
linhes_pkgbuild-35411fbced50b13f3ad35e056c8e28c01a161064.tar.bz2
liboil:initial inclusion
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/liboil/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/abs/extra/liboil/PKGBUILD b/abs/extra/liboil/PKGBUILD
new file mode 100644
index 0000000..e206abb
--- /dev/null
+++ b/abs/extra/liboil/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 72222 2010-03-13 20:12:59Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=liboil
+pkgver=0.3.17
+pkgrel=1
+pkgdesc="Library of simple functions that are optimized for various CPUs."
+arch=('i686' 'x86_64')
+license=('custom')
+url="http://liboil.freedesktop.org/"
+depends=('glibc')
+makedepends=('glib2' 'pkgconfig' 'docbook-xsl')
+options=('!libtool' '!makeflags')
+source=(${url}/download/${pkgname}-${pkgver}.tar.gz)
+md5sums=('47dc734f82faeb2964d97771cfd2e701')
+
+build() {
+ unset CFLAGS
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr || return 1
+ make || return 1
+ make DESTDIR="${pkgdir}" install || return 1
+ install -m755 -d "${pkgdir}/usr/share/licenses/liboil"
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/liboil/" || return 1
+}