summaryrefslogtreecommitdiffstats
path: root/extra/gd/Pkgfile
blob: 3bde0826af32fcfd46f5988e40494efad8249b1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Description: Librairie permettant la création dynamique d'images png, jpeg
# URL: http://www.libgd.org/Main_Page
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: libjpeg, libpng, fontconfig
# Run on: libjpeg,libpng,fontconfig

name=gd
version=2.0.35
release=1
source=(http://www.libgd.org/releases/$name-$version.tar.gz\
	gd-2.0.35-libpng14.patch)

build() {
	cd $name-$version
	patch -Np1 -i ../gd-2.0.35-libpng14.patch
	./configure --prefix=/usr
	make
	make DESTDIR=$PKG install
}