2006-12-10 20:24:34 +11:00
|
|
|
# Description: A library of simple functions optimized for various CPUs.
|
|
|
|
# URL: http://liboil.freedesktop.org/wiki/
|
|
|
|
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
|
|
|
|
# Packager: Matt Housh, jaeger at morpheus dot net
|
|
|
|
# Depends on:
|
|
|
|
|
|
|
|
name=liboil
|
2007-05-30 14:43:27 +10:00
|
|
|
version=0.3.12
|
2006-12-10 20:24:34 +11:00
|
|
|
release=1
|
2007-04-01 17:11:29 +10:00
|
|
|
source=(http://liboil.freedesktop.org/download/liboil-$version.tar.gz)
|
2006-12-10 20:24:34 +11:00
|
|
|
|
|
|
|
build() {
|
2007-04-01 17:11:29 +10:00
|
|
|
cd liboil-$version
|
2007-05-30 14:43:27 +10:00
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-static \
|
|
|
|
--disable-gtk-doc
|
|
|
|
|
|
|
|
sed -i -e "/^SUBDIRS = /s/examples //" Makefile
|
2007-04-01 17:11:29 +10:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2007-05-30 14:43:27 +10:00
|
|
|
|
|
|
|
# --disable-gtk-doc don't work and is ment to be disabled by
|
|
|
|
# default
|
|
|
|
rm -r $PKG/usr/share
|
2006-12-10 20:24:34 +11:00
|
|
|
}
|
|
|
|
|