summaryrefslogtreecommitdiffstats
path: root/base/libpng
diff options
context:
space:
mode:
Diffstat (limited to 'base/libpng')
-rw-r--r--base/libpng/.footprint31
-rw-r--r--base/libpng/.md5sum2
-rwxr-xr-xbase/libpng/Pkgfile22
3 files changed, 55 insertions, 0 deletions
diff --git a/base/libpng/.footprint b/base/libpng/.footprint
new file mode 100644
index 000000000..65e583738
--- /dev/null
+++ b/base/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.39.0
+-rwxr-xr-x root/root usr/lib/libpng.so.3.39.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.39.0
+lrwxrwxrwx root/root usr/lib/libpng12.so.0 -> libpng12.so.0.39.0
+-rwxr-xr-x root/root usr/lib/libpng12.so.0.39.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/base/libpng/.md5sum b/base/libpng/.md5sum
new file mode 100644
index 000000000..e5a02bda2
--- /dev/null
+++ b/base/libpng/.md5sum
@@ -0,0 +1,2 @@
+bc93c1cd8625811d1311d2957b947e7b libpng-1.2.39-apng-1.patch
+4d48ecff6fc7ab12e97b07d0f65ec2f0 libpng-1.2.39.tar.bz2
diff --git a/base/libpng/Pkgfile b/base/libpng/Pkgfile
new file mode 100755
index 000000000..6a0d20801
--- /dev/null
+++ b/base/libpng/Pkgfile
@@ -0,0 +1,22 @@
+# 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
+
+name=libpng
+version=1.2.39
+release=1
+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
+}