From 9291e062cb24bac5d7c7059d4dc64669c1917b33 Mon Sep 17 00:00:00 2001 From: tnut Date: Sun, 8 Jan 2012 12:12:28 +0100 Subject: aaabasicfs 2011-3 et split des dépot base et extra en 2 git séparé MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libpng/Pkgfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 libpng/Pkgfile (limited to 'libpng/Pkgfile') diff --git a/libpng/Pkgfile b/libpng/Pkgfile new file mode 100755 index 000000000..2c6e86082 --- /dev/null +++ b/libpng/Pkgfile @@ -0,0 +1,21 @@ +# 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.5.1 +release=2 +source=( http://downloads.sourceforge.net/$name/$name-$version.tar.bz2 \ + http://downloads.sourceforge.net/sourceforge/libpng-apng/$name-$version-apng.patch.gz) + +build() { + gzip -d $name-$version-apng.patch.gz + cd $name-$version + patch -Np1 -i ../$name-$version-apng.patch + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make + make DESTDIR=$PKG install +} -- cgit v1.2.3-70-g09d2