diff options
Diffstat (limited to 'main/babl/APKBUILD')
-rw-r--r-- | main/babl/APKBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/main/babl/APKBUILD b/main/babl/APKBUILD new file mode 100644 index 0000000000..358a89a98d --- /dev/null +++ b/main/babl/APKBUILD @@ -0,0 +1,26 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=babl +pkgver=0.1.4 +pkgrel=1 +pkgdesc="Dynamic, any to any, pixel format conversion library" +url="http://gegl.org/babl/" +arch="all" +license="LGPL3" +depends= +makedepends= +subpackages="$pkgname-dev" +source="ftp://ftp.gimp.org/pub/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2" + +build() { + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr || return 1 + make || return 1 +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + make DESTDIR="$pkgdir" install || return 1 + rm "$pkgdir"/usr/lib/babl*/*.la \ + "$pkgdir"/usr/lib/*.la || return 1 +} +md5sums="1deaf8188b200b10d98a343a7e712b2b babl-0.1.4.tar.bz2" |