From 1f3c61e777246d7963ba20b1f10715934a77f55e Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Thu, 22 Dec 2022 12:37:42 +0000 Subject: [PATCH] libpng12-32: initial commit, version 1.2.59 --- libpng12-32/.32bit | 0 libpng12-32/.footprint | 9 +++++++++ libpng12-32/.signature | 6 ++++++ libpng12-32/Pkgfile | 27 +++++++++++++++++++++++++++ 4 files changed, 42 insertions(+) create mode 100644 libpng12-32/.32bit create mode 100644 libpng12-32/.footprint create mode 100644 libpng12-32/.signature create mode 100644 libpng12-32/Pkgfile diff --git a/libpng12-32/.32bit b/libpng12-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/libpng12-32/.footprint b/libpng12-32/.footprint new file mode 100644 index 00000000..881640c4 --- /dev/null +++ b/libpng12-32/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +lrwxrwxrwx root/root usr/lib32/libpng.so.3 -> libpng.so.3.59.0 +-rwxr-xr-x root/root usr/lib32/libpng.so.3.59.0 +-rw-r--r-- root/root usr/lib32/libpng12.a +-rwxr-xr-x root/root usr/lib32/libpng12.la +lrwxrwxrwx root/root usr/lib32/libpng12.so -> libpng12.so.0.59.0 +lrwxrwxrwx root/root usr/lib32/libpng12.so.0 -> libpng12.so.0.59.0 +-rwxr-xr-x root/root usr/lib32/libpng12.so.0.59.0 diff --git a/libpng12-32/.signature b/libpng12-32/.signature new file mode 100644 index 00000000..3507bddf --- /dev/null +++ b/libpng12-32/.signature @@ -0,0 +1,6 @@ +untrusted comment: verify with /etc/ports/compat-32.pub +RWSwxGo/zH7eXVipTt892nuMBqh4a54JFMEuYcJP5AhjSxczCFPSAaHb6DtZiSs7aq2dxuCSCqZVMnaYvg3ZTrRBt5oXB8gchw4= +SHA256 (Pkgfile) = ee04b184f8e879e391d16c4d90a7a95083ab34572ee2fda0e75e26f95d38d0b9 +SHA256 (.footprint) = 4e8f32b6d4d0a91a00d7077a5c98ed270bbccca410b2e04066cd0c256d3c5c2b +SHA256 (libpng-1.2.59.tar.xz) = b4635f15b8adccc8ad0934eea485ef59cc4cae24d0f0300a9a941e51974ffcc7 +SHA256 (libpng-1.2.59-apng.patch.gz) = 281fd5f0165762967a18302dca217de3212be4a3437f95805be44f1ac9db1a5d diff --git a/libpng12-32/Pkgfile b/libpng12-32/Pkgfile new file mode 100644 index 00000000..20e290fc --- /dev/null +++ b/libpng12-32/Pkgfile @@ -0,0 +1,27 @@ +# Description: Library of PNG support functions with APNG support. +# URL: http://www.libpng.org/pub/png/libpng.html +# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu +# Depends on: libpng12 zlib-32 + +name=libpng12-32 +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 \ + --libdir=/usr/lib32 + make + make DESTDIR=$PKG install + + rm -rf $PKG/usr/{bin,include,lib32/{libpng.{la,a,so},pkgconfig},share} +}