summaryrefslogtreecommitdiffstats
path: root/base/libpng/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/libpng/Pkgfile')
-rwxr-xr-xbase/libpng/Pkgfile22
1 files changed, 22 insertions, 0 deletions
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
+}