blob: 20e290fcdbf6b23b6348cd8658a5890a17063e3e (
plain)
1 # Description: Library of PNG support functions with APNG support.
2 # URL: http://www.libpng.org/pub/png/libpng.html
3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
4 # Depends on: libpng12 zlib-32
5
6 name=libpng12-32
7 version=1.2.59
8 release=1
9 source=(https://sourceforge.net/projects/libpng/files/libpng-$version.tar.xz
10 https://sourceforge.net/projects/libpng-apng/files/libpng12/$version/libpng-$version-apng.patch.gz)
11
12 build() {
13 cd libpng-$version
14 gunzip $SRC/libpng-$version-apng.patch.gz
15 patch -Np1 -i $SRC/libpng-$version-apng.patch
16 libtoolize --force --copy
17 aclocal
18 autoconf
19 automake --add-missing
20
21 ./configure --prefix=/usr \
22 --libdir=/usr/lib32
23 make
24 make DESTDIR=$PKG install
25
26 rm -rf $PKG/usr/{bin,include,lib32/{libpng.{la,a,so},pkgconfig},share}
27 }
|