forked from ports/contrib
29 lines
645 B
Plaintext
29 lines
645 B
Plaintext
# Description: A library of simple functions optimized for various CPUs.
|
|
# URL: http://liboil.freedesktop.org/wiki/
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: Matt Housh, jaeger at morpheus dot net
|
|
# Depends on:
|
|
|
|
name=liboil
|
|
version=0.3.14
|
|
release=1
|
|
source=(http://liboil.freedesktop.org/download/liboil-$version.tar.gz)
|
|
|
|
build() {
|
|
cd liboil-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-static \
|
|
--disable-gtk-doc
|
|
|
|
sed -i Makefile -e '/^SUBDIRS = /s/examples //'
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
# --disable-gtk-doc don't work and is ment to be disabled by
|
|
# default
|
|
rm -r $PKG/usr/share
|
|
}
|
|
|