compat-32/libpng-32/Pkgfile

28 lines
603 B
Plaintext
Raw Normal View History

# Description: Library of PNG support functions.
2017-03-14 04:01:28 +01:00
# URL: https://www.libpng.org
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: zlib-32 libpng
name=libpng-32
2017-08-27 05:29:35 +02:00
version=1.6.32
2017-03-19 09:42:40 +01:00
_base=${version:0:3}
_base=${_base/./}
release=1
2017-03-19 09:42:40 +01:00
source=(https://downloads.sourceforge.net/project/${name%-*}/${name%-*}$_base/$version/${name%-*}-$version.tar.xz
2016-08-08 12:57:58 +02:00
libpng-apng.patch)
build() {
2017-03-14 04:01:28 +01:00
cd ${name%-*}-$version
2017-08-27 05:29:35 +02:00
patch -p0 -i $SRC/libpng-apng.patch
2016-08-08 12:57:58 +02:00
./configure \
--prefix=/usr \
--libdir=/usr/lib32
2014-03-19 09:08:40 +01:00
2016-06-17 13:20:20 +02:00
make
make DESTDIR=$PKG install
rm -r $PKG/usr/{bin,include,share/man}
}