forked from ports/compat-32
22 lines
617 B
Plaintext
22 lines
617 B
Plaintext
# Description: Library of PNG support functions.
|
|
# URL: http://www.libpng.org
|
|
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
|
|
# Depends on: zlib-32 libpng
|
|
|
|
name=libpng-32
|
|
version=1.5.14
|
|
release=1
|
|
source=(http://download.sourceforge.net/libpng/libpng-$version.tar.xz \
|
|
http://downloads.sourceforge.net/project/libpng-apng/libpng15/1.5.12/libpng-1.5.12-apng.patch.gz)
|
|
|
|
build() {
|
|
cd libpng-$version
|
|
|
|
zcat $SRC/libpng-1.5.12-apng.patch.gz | patch -p1
|
|
./configure --prefix=/usr --mandir=/usr/man --libdir=/usr/lib32
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rm -rf $PKG/usr/{bin,include,man}
|
|
}
|