aboutsummaryrefslogtreecommitdiffstats
path: root/main/babl/APKBUILD
blob: 415e512d179abc874d71f85d29f627d210775e0d (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=babl
pkgver=0.1.18
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"

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="400d430e9c39b8795a65eb8a65fbe0af  babl-0.1.18.tar.bz2"
sha256sums="483a495bc9fa68be624e27e72d2144ebfcbbf63e061eb986db1fb82b04b6fbf9  babl-0.1.18.tar.bz2"
sha512sums="70cf2db7294d5744e30519ccc9bfd795c9ef4bae4425bdf8719ce0028c6bb81deca7b2c0550e98877beddc7f5d5ce71b9ba5318416dc32c3087a13d8eee42304  babl-0.1.18.tar.bz2"