compat-32/libpng-32/Pkgfile

28 lines
621 B
Plaintext
Raw Normal View History

# Description: Library of PNG support functions.
2020-06-24 23:35:44 +02:00
# URL: http://www.libpng.org/pub/png/libpng.html
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
2019-08-27 13:48:19 +02:00
# Depends on: libpng zlib-32
name=libpng-32
2022-11-26 12:08:52 +01:00
version=1.6.39
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-09-30 10:21:45 +02:00
patch -p1 -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}
}