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