forked from ports/compat-32
26 lines
515 B
Plaintext
26 lines
515 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.27
|
|
release=1
|
|
source=(http://download.sourceforge.net/libpng/libpng-$version.tar.xz
|
|
libpng-apng.patch)
|
|
|
|
build() {
|
|
cd libpng-$version
|
|
|
|
patch -p0 -i $SRC/libpng-apng.patch
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib32
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/{bin,include,share/man}
|
|
}
|