1 # Maintainer: Mikael Eriksson <mikael_eriksson@miffe.org>
3 pkgname=mingw32-libpng14
7 pkgdesc="A collection of routines used to create PNG format graphics (mingw32)"
8 depends=('mingw32-runtime' 'mingw32-zlib')
9 makedepends=('mingw32-gcc')
11 url="http://www.libpng.org/pub/png/libpng.html"
12 options=(!strip !buildflags)
13 provides=(mingw32-libpng)
14 conflicts=(mingw32-libpng)
15 source=("http://downloads.sourceforge.net/sourceforge/libpng/libpng-$pkgver.tar.bz2"
16 "http://downloads.sourceforge.net/project/libpng-apng/libpng-master/$pkgver/libpng-$pkgver-apng.patch.gz")
17 md5sums=('063f9e369c2470d3dd1c69a71afb7f16'
18 'aab15558cfd7d6c50a431ef91f126f0a')
21 cd "$srcdir/libpng-$pkgver"
23 # Add animated PNG (apng) support
24 # see http://sourceforge.net/projects/libpng-apng/
25 patch -p1 -i "${srcdir}/libpng-$pkgver-apng.patch" || return 1
27 ./configure --host=i486-mingw32 --prefix=/usr/i486-mingw32
28 #make -f scripts/makefile.mingw \
29 #CC=i486-mingw32-gcc \
32 #RANLIB=i486-mingw32-ranlib \
33 #prefix=/usr/i486-mingw32 \
38 make install DESTDIR=$pkgdir
40 install -D -m644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
43 # vim:set ts=2 sw=2 et: