diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-04-09 08:26:21 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-04-09 08:26:21 -0500 |
commit | 9c6e31f12ba641d9da1306c681f06fcf69623531 (patch) | |
tree | b5926714e742806cd836bfca3e0f868ebc5b011d /main/libmng | |
parent | 0381828da41f0c2d524f4bd2fed525b14c35c2d7 (diff) | |
download | aports-9c6e31f12ba641d9da1306c681f06fcf69623531.tar.bz2 aports-9c6e31f12ba641d9da1306c681f06fcf69623531.tar.xz |
main/libmng: moved from testing
Diffstat (limited to 'main/libmng')
-rw-r--r-- | main/libmng/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/main/libmng/APKBUILD b/main/libmng/APKBUILD new file mode 100644 index 000000000..e1a878dc3 --- /dev/null +++ b/main/libmng/APKBUILD @@ -0,0 +1,35 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libmng +pkgver=1.0.10 +pkgrel=0 +pkgdesc="A collection of routines used to create and manipulate MNG format graphics files" +url="http://www.libmng.com/" +arch="all" +license="custom" +depends="" +depends_dev="jpeg-dev" +makedepends="zlib-dev jpeg-dev autoconf automake libtool" +subpackages="$pkgname-dev $pkgname-doc" +source="http://downloads.sourceforge.net/sourceforge/libmng/libmng-$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" + ln -s makefiles/configure.in . + ln -s makefiles/Makefile.am . + autoreconf --force --install +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +md5sums="a464ae7d679781beebdf7440d144b7bd libmng-1.0.10.tar.gz" |