summaryrefslogtreecommitdiff
path: root/portsToCome/libgd/Pkgfile
blob: 743f44b52cd2a74dd7f1afc90756718e6ee21b47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Description: gd libraries
# URL: http://www.libgd.org
# Maintainer: Erich Eckner, erich at eckner dot net
# Packager: Antti Nykanen, aon at iki dot fi
# Depends on: xorg-libxpm libpng libjpeg-turbo freetype

name=libgd
version=2.1.1
release=1
source=(https://bitbucket.org/libgd/gd-libgd/downloads/$name-$version.tar.xz
        libvpx1.5-compatibility.patch)

build () {
  cd $name-$version

  patch -p0 < $SRC/libvpx1.5-compatibility.patch

  ./configure --prefix=/usr

  make DESTDIR=$PKG install
}