aboutsummaryrefslogtreecommitdiffstats
path: root/main/babl/APKBUILD
blob: bcb343da2d914e553e42763b9911dd53531d19d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=babl
pkgver=0.1.14
pkgrel=0
pkgdesc="Dynamic, any to any, pixel format conversion library"
url="http://gegl.org/babl/"
arch="all"
license="LGPL3+"
depends=""
makedepends=""
subpackages="$pkgname-dev"
source="http://ftp.gimp.org/pub/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"

_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="b64a3b2cef5b0bb62caff0afdd32bdb8  babl-0.1.14.tar.bz2"
sha256sums="e6dcb112c8f8f75471823fdcc5a6a65f753b4d0e96e377979ea01a5d6fad7d4f  babl-0.1.14.tar.bz2"
sha512sums="fb7c48738b968c2cf01aab20b50c7768501b73c8c34957ef500cf7a77bb2dce519ede34463a8a100037533d5f3566e1cd23d898c41eb29fc01620a0dde131398  babl-0.1.14.tar.bz2"