aboutsummaryrefslogtreecommitdiffstats
path: root/main/liboil/APKBUILD
blob: d388ca491f6d15536a729c8677fe0789a515ebb6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=liboil
pkgver=0.3.16
pkgrel=0
pkgdesc="Library of simple functions that are optimized for various CPUs."
url="http://liboil.freedesktop.org/"
license="custom"
subpackages="$pkgname-dev $pkgname-doc"
depends=
source="http://$pkgname.freedesktop.org/download/$pkgname-$pkgver.tar.gz"

build ()
{
	unset CFLAGS
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr || return 1
	make || return 1
	make -j1 DESTDIR="$pkgdir" install || return 1
	install -m755 -d "$pkgdir"/usr/share/licenses/liboil
	install -m644 COPYING "$pkgdir"/usr/share/licenses/liboil/ || return 1
}
md5sums="febb1d9f9bc4c440fcf622dc90f8b6b7  liboil-0.3.16.tar.gz"