diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-04-25 12:10:08 +0200 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-04-25 12:10:08 +0200 |
commit | e4bf8fbb3774ab22175e2e2e765690ef30b2f508 (patch) | |
tree | 5d112f09769ccbfc6ffc9e652f4d974fbd7984a6 /base/libpng12/Pkgfile | |
parent | c4f15eb9e376829fc6dcc8dcba6b5ee651c534cd (diff) | |
download | nutyx-extra-e4bf8fbb3774ab22175e2e2e765690ef30b2f508.tar.gz nutyx-extra-e4bf8fbb3774ab22175e2e2e765690ef30b2f508.tar.bz2 nutyx-extra-e4bf8fbb3774ab22175e2e2e765690ef30b2f508.tar.xz nutyx-extra-e4bf8fbb3774ab22175e2e2e765690ef30b2f508.zip |
ajout libpng12#1.2.42-1
Diffstat (limited to 'base/libpng12/Pkgfile')
-rwxr-xr-x | base/libpng12/Pkgfile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/base/libpng12/Pkgfile b/base/libpng12/Pkgfile new file mode 100755 index 000000000..1db9d3792 --- /dev/null +++ b/base/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/ +} |