diff options
Diffstat (limited to 'extra/libpng/Pkgfile')
-rwxr-xr-x | extra/libpng/Pkgfile | 23 |
1 files changed, 23 insertions, 0 deletions
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 +} |