summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/libpng/.footprint31
-rw-r--r--extra/libpng/.md5sum2
-rwxr-xr-xextra/libpng/Pkgfile23
3 files changed, 56 insertions, 0 deletions
diff --git a/extra/libpng/.footprint b/extra/libpng/.footprint
new file mode 100644
index 000000000..33060c8ae
--- /dev/null
+++ b/extra/libpng/.footprint
@@ -0,0 +1,31 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+lrwxrwxrwx root/root usr/bin/libpng-config -> libpng12-config
+-rwxr-xr-x root/root usr/bin/libpng12-config
+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
+lrwxrwxrwx root/root usr/include/png.h -> libpng12/png.h
+lrwxrwxrwx root/root usr/include/pngconf.h -> libpng12/pngconf.h
+drwxr-xr-x root/root usr/lib/
+lrwxrwxrwx root/root usr/lib/libpng.a -> libpng12.a
+lrwxrwxrwx root/root usr/lib/libpng.la -> libpng12.la
+lrwxrwxrwx root/root usr/lib/libpng.so -> libpng12.so
+lrwxrwxrwx root/root usr/lib/libpng.so.3 -> libpng.so.3.38.0
+-rwxr-xr-x root/root usr/lib/libpng.so.3.38.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.38.0
+lrwxrwxrwx root/root usr/lib/libpng12.so.0 -> libpng12.so.0.38.0
+-rwxr-xr-x root/root usr/lib/libpng12.so.0.38.0
+drwxr-xr-x root/root usr/lib/pkgconfig/
+lrwxrwxrwx root/root usr/lib/pkgconfig/libpng.pc -> libpng12.pc
+-rw-r--r-- root/root usr/lib/pkgconfig/libpng12.pc
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man3/
+-rw-r--r-- root/root usr/share/man/man3/libpng.3.gz
+-rw-r--r-- root/root usr/share/man/man3/libpngpf.3.gz
+drwxr-xr-x root/root usr/share/man/man5/
+-rw-r--r-- root/root usr/share/man/man5/png.5.gz
diff --git a/extra/libpng/.md5sum b/extra/libpng/.md5sum
new file mode 100644
index 000000000..7c472b193
--- /dev/null
+++ b/extra/libpng/.md5sum
@@ -0,0 +1,2 @@
+7cf8bcb15f31018817e68be3729aaba6 libpng-1.2.38-apng-1.patch
+5401c2586846fca209eba0c02c8ee9e0 libpng-1.2.38.tar.bz2
diff --git a/extra/libpng/Pkgfile b/extra/libpng/Pkgfile
new file mode 100755
index 000000000..a9fc2a84b
--- /dev/null
+++ b/extra/libpng/Pkgfile
@@ -0,0 +1,23 @@
+# Description: Librairie de fonctions de support PNG
+# URL: http://www.libpng.org/pub/png/libpng.html
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=libpng
+version=1.2.38
+release=3
+source=( http://downloads.sourceforge.net/$name/$name-$version.tar.bz2 \
+ http://www.linuxfromscratch.org/patches/blfs/svn/libpng-$version-apng-1.patch)
+
+
+build() {
+ cd $name-$version
+ patch -Np1 -i ../libpng-$version-apng-1.patch
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --disable-debug
+ make
+ make DESTDIR=$PKG install
+}