summaryrefslogtreecommitdiffstats
path: root/test/libpng12
diff options
context:
space:
mode:
authorsibel <lesibel at free dot fr>2010-06-24 18:13:30 +0200
committersibel <lesibel at free dot fr>2010-06-24 18:13:30 +0200
commit1959941caa7bc9da72c008d0457957a811d50f9f (patch)
treee45639983054f24600d92ade4ad5a43cedcc169f /test/libpng12
parent4063deeb44df188424ac27d256a5236490d48f41 (diff)
downloadnutyx-pakxe-1959941caa7bc9da72c008d0457957a811d50f9f.tar.gz
nutyx-pakxe-1959941caa7bc9da72c008d0457957a811d50f9f.tar.bz2
nutyx-pakxe-1959941caa7bc9da72c008d0457957a811d50f9f.tar.xz
nutyx-pakxe-1959941caa7bc9da72c008d0457957a811d50f9f.zip
libpng12, déplacé dans test
Diffstat (limited to 'test/libpng12')
-rw-r--r--test/libpng12/.footprint16
-rw-r--r--test/libpng12/.md5sum2
-rwxr-xr-xtest/libpng12/Pkgfile26
3 files changed, 44 insertions, 0 deletions
diff --git a/test/libpng12/.footprint b/test/libpng12/.footprint
new file mode 100644
index 000000000..104c13ff6
--- /dev/null
+++ b/test/libpng12/.footprint
@@ -0,0 +1,16 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-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
+drwxr-xr-x root/root usr/lib/
+-rwxr-xr-x root/root usr/lib/libpng.so.3.42.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.42.0
+lrwxrwxrwx root/root usr/lib/libpng12.so.0 -> libpng12.so.0.42.0
+-rwxr-xr-x root/root usr/lib/libpng12.so.0.42.0
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/libpng12.pc
diff --git a/test/libpng12/.md5sum b/test/libpng12/.md5sum
new file mode 100644
index 000000000..0e29b9b28
--- /dev/null
+++ b/test/libpng12/.md5sum
@@ -0,0 +1,2 @@
+351f58a6b405084e18f755eecd0c949c libpng-1.2.42-apng-1.patch
+9a5cbe9798927fdf528f3186a8840ebe libpng-1.2.42.tar.bz2
diff --git a/test/libpng12/Pkgfile b/test/libpng12/Pkgfile
new file mode 100755
index 000000000..1db9d3792
--- /dev/null
+++ b/test/libpng12/Pkgfile
@@ -0,0 +1,26 @@
+# Description: Librairie de fonctions de support PNG version 1.2
+# URL: http://www.libpng.org/pub/png/libpng.html
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+
+name=libpng12
+version=1.2.42
+release=1
+source=( http://downloads.sourceforge.net/libpng/libpng-$version.tar.bz2\
+ http://www.linuxfromscratch.org/patches/blfs/svn/libpng-1.2.42-apng-1.patch)
+
+build() {
+ cd libpng-$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
+ rm $PKG/usr/bin/libpng-config
+ rm $PKG/usr/include/{png.h,pngconf.h}
+ rm $PKG/usr/lib/libpng.{a,la,so,so.3}
+ rm $PKG/usr/lib/pkgconfig/libpng.pc
+ rm -r $PKG/usr/share/
+}