summaryrefslogtreecommitdiffstats
path: root/base/libpng/Pkgfile
blob: a97664348d5970209812a97fd76ce9925133bdee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# t/kernel-pae/.footprintescription: 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.4.2
release=1
source=( http://downloads.sourceforge.net/$name/$name-$version.tar.bz2 \
	http://downloads.sourceforge.net/sourceforge/libpng-apng/$name-$version-apng.patch.gz\
	libpng14-enable-read-dither.patch)

build() {
	gzip -d $name-$version-apng.patch.gz
	cd $name-$version
	patch -Np1 -i ../$name-$version-apng.patch
#	patch -Np1 -i ../libpng14-enable-read-dither.patch
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
                --disable-debug
	make
	make DESTDIR=$PKG install
}