diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-03 13:29:20 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-03 14:45:02 +0000 |
commit | 69c0e803357e2c835f5de810d0c645dd879bae89 (patch) | |
tree | 20e5389c566fced0635fac0da5665f9799d1f1a8 /main/libmng | |
parent | 36c22946e4045d372ebe17281b2a0f17d4b2f22e (diff) | |
download | aports-69c0e803357e2c835f5de810d0c645dd879bae89.tar.bz2 aports-69c0e803357e2c835f5de810d0c645dd879bae89.tar.xz |
main/libmng: upgrade to 2.0.2
Diffstat (limited to 'main/libmng')
-rw-r--r-- | main/libmng/APKBUILD | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/main/libmng/APKBUILD b/main/libmng/APKBUILD index 0c46982ea3..2be6eca8a9 100644 --- a/main/libmng/APKBUILD +++ b/main/libmng/APKBUILD @@ -1,23 +1,20 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libmng -pkgver=1.0.10 -pkgrel=2 +pkgver=2.0.2 +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="libjpeg-turbo-dev" -makedepends="$depends_dev zlib-dev autoconf automake libtool" +makedepends="$depends_dev zlib-dev lcms-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 . - sed -i '/^AM_C_PROTOTYPES$/d' configure.in || return 1 autoreconf --force --install } @@ -27,6 +24,11 @@ build() { --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ + --enable-shared \ + --disable-static \ + --with-zlib \ + --with-jpeg \ + --with-lcms2 \ || return 1 make || return 1 } @@ -38,4 +40,6 @@ package() { install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } -md5sums="a464ae7d679781beebdf7440d144b7bd libmng-1.0.10.tar.gz" +md5sums="1ffefaed4aac98475ee6267422cbca55 libmng-2.0.2.tar.gz" +sha256sums="4908797bb3541fb5cd8fffbe0b1513ed163509f2a4d57a78b26a96f8d1dd05a2 libmng-2.0.2.tar.gz" +sha512sums="7d3da919ac79d6b568de246f902d0acef99acb5c195812c85ebc22ef53b7cb30073d090e9c376099e938febfbefaa4e0511d54dea256fedf22614b4f12183535 libmng-2.0.2.tar.gz" |