summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/ftgl/PKGBUILD
blob: 47c9eb45110194f932cd69601485f980efbd2940 (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
25
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: tobias <tobias@archlinux.org>
pkgname=ftgl
pkgver=2.1.2
pkgrel=4
pkgdesc="OpenGL library to use arbitrary fonts"
arch=(i686 x86_64)
source=(http://superb-east.dl.sourceforge.net/sourceforge/ftgl/$pkgname-$pkgver.tar.gz ftgl-gcc411.patch)
url="http://homepages.paradise.net.nz/henryj/code/"
options=(!libtool)
depends=(freetype2 glut)
makedepends=(doxygen)

build() {
  cd $startdir/src/FTGL/
  patch -Np1 -i ${startdir}/src/ftgl-gcc411.patch || return 1
  cd unix
  sed -i 's|^    \$|	$|g' src/Makefile
  ./configure --prefix=/usr --with-pic
  make || return 1
  make prefix=$startdir/pkg/usr install

}
md5sums=('f81c0a7128192ba11e036186f9a968f2' '2a4ad16c1bfae869a8bf0ddababfd25a')