blob: 6316e10b2fb4aecf368e072a8b89881b1d1ebf3b (
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.16
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="a1c72e5f5d55a8b736ef2fa67ddb86ec babl-0.1.16.tar.bz2"
sha256sums="7d6ba55ec53ee6f6bf6945beec28839d09ff72376f4d83035eb379cd4f3e980e babl-0.1.16.tar.bz2"
sha512sums="a129247a827ccd79bb92204e49d6b6614183bff5961ef6b41cb466c51973b01a15aa7720f7401f1ab7d64885ede69ad84e99f628e48beb4525644d109c7f9a5a babl-0.1.16.tar.bz2"
|