summaryrefslogtreecommitdiffstats
path: root/extra/libgd/Pkgfile
blob: c74861436f0592ffce544aefab9b1b2798d240d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Description: Bibliothèques GD
# Packager: Antti Nykanen <aon at iki dot fi>
# Maintainer: Blankoworld <blankoworld at wanadoo dot fr>
# URL: http://www.libgd.org
# Depends on: xorg-libxpm, libpng, libjpeg, freetype

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

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