libpng12: initial commit, version 1.2.59

This commit is contained in:
Tim Biermann 2022-12-22 12:29:29 +00:00
parent 37b2329abf
commit d97b1a2036
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 45 additions and 0 deletions

13
libpng12/.footprint Normal file
View File

@ -0,0 +1,13 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/libpng12/
-rw-r--r-- root/root usr/include/libpng12/png.h
-rw-r--r-- root/root usr/include/libpng12/pngconf.h
drwxr-xr-x root/root usr/lib/
lrwxrwxrwx root/root usr/lib/libpng.so.3 -> libpng.so.3.59.0
-rwxr-xr-x root/root usr/lib/libpng.so.3.59.0
-rw-r--r-- root/root usr/lib/libpng12.a
-rwxr-xr-x root/root usr/lib/libpng12.la
lrwxrwxrwx root/root usr/lib/libpng12.so -> libpng12.so.0.59.0
lrwxrwxrwx root/root usr/lib/libpng12.so.0 -> libpng12.so.0.59.0
-rwxr-xr-x root/root usr/lib/libpng12.so.0.59.0

6
libpng12/.signature Normal file
View File

@ -0,0 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF38LYwM/XyCXEHtcyIQohpaQPVr5iTwF16YZSwSZ//hzE6jwIXOOi7XJykZuKP5klHcHChsJoArG5GF8V/eXCrgE=
SHA256 (Pkgfile) = 3167adaf16e4ad54701fd62168c52311f1c6a90cd87444ce50e4e19a6fcaf55e
SHA256 (.footprint) = beca93e08dbd584e16070cfb28801ed78d65325ff719c2bb6bb1ba9bfddcba3a
SHA256 (libpng-1.2.59.tar.xz) = b4635f15b8adccc8ad0934eea485ef59cc4cae24d0f0300a9a941e51974ffcc7
SHA256 (libpng-1.2.59-apng.patch.gz) = 281fd5f0165762967a18302dca217de3212be4a3437f95805be44f1ac9db1a5d

26
libpng12/Pkgfile Normal file
View File

@ -0,0 +1,26 @@
# Description: Library of PNG support functions with APNG support.
# URL: http://www.libpng.org/pub/png/libpng.html
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on:
name=libpng12
version=1.2.59
release=1
source=(https://sourceforge.net/projects/libpng/files/libpng-$version.tar.xz
https://sourceforge.net/projects/libpng-apng/files/libpng12/$version/libpng-$version-apng.patch.gz)
build() {
cd libpng-$version
gunzip $SRC/libpng-$version-apng.patch.gz
patch -Np1 -i $SRC/libpng-$version-apng.patch
libtoolize --force --copy
aclocal
autoconf
automake --add-missing
./configure --prefix=/usr
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/{bin,include/*.h,lib/{libpng.{la,a,so},pkgconfig},share}
}