Commit f0433bbf authored by Natanael Copa's avatar Natanael Copa

main/libpng: enable animated png

parent b36fde10
......@@ -2,23 +2,30 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libpng
pkgver=1.5.5
pkgrel=0
pkgrel=1
pkgdesc="Portable Network Graphics library"
url="http://www.libpng.org/"
arch="all"
license="GPL"
depends=
makedepends="zlib-dev gawk"
depends_dev="zlib-dev"
makedepends="$depends_dev gawk"
subpackages="$pkgname-doc $pkgname-dev"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
http://downloads.sourceforge.net/project/libpng-apng/libpng-devel/$pkgver/libpng-$pkgver-apng.patch.gz
"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
gunzip -c "$srcdir"/libpng-$pkgver-apng.patch.gz | patch -p1 || return 1
}
depends_dev="zlib-dev"
build() {
cd "$srcdir/$pkgname-$pkgver"
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
|| return 1
make
}
......@@ -29,4 +36,5 @@ package() {
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="003bcac022125029bae4818d74c42a94 libpng-1.5.5.tar.gz"
md5sums="003bcac022125029bae4818d74c42a94 libpng-1.5.5.tar.gz
4c4e8c1b5beacc3e0cf8caa84489d223 libpng-1.5.5-apng.patch.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment