aboutsummaryrefslogtreecommitdiffstats
path: root/community/babl/APKBUILD
blob: 994728270cc13afd72eb0a9a758f0c8a561c7a78 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=babl
pkgver=0.1.34
pkgrel=0
pkgdesc="Dynamic, any to any, pixel format conversion library"
url="http://gegl.org/babl/"
arch="all"
license="LGPL3+"
subpackages="$pkgname-dev"
source="http://ftp.gimp.org/pub/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"

builddir="$srcdir/$pkgname-$pkgver"
build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="32495177863fcb3626bdf45121bf97df01f96f985beb69315a73d5ea8eea4efe52c31c8dc6bcac4c160f0336f9d9c2290ad73fbcbe3091b5bcfff23225d2ffcc  babl-0.1.34.tar.bz2"