updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / cairo-dfb / PKGBUILD
blobd7a798c3d13ccc30cd0b4b35838b043e93919135
1 # Contributor: bountykiller <masse.nicolas@gmail.com>
2 pkgname=cairo-dfb
3 pkgrealname=cairo
4 pkgver=1.10.0
5 pkgrel=0
6 pkgdesc="Cairo vector graphics library compiled with directfb backend"
7 arch=(i686 x86_64)
8 url="http://www.cairographics.org"
9 license=('LGPL' 'MPL')
10 depends=('directfb' 'pixman>=0.18')
11 source=(http://cairographics.org/releases/$pkgrealname-$pkgver.tar.gz)
12 md5sums=('70a2ece66cf473d976e2db0f75bf199e')
13 install=${pkgname}.install
14 build () {
15         export PREFIX=/opt/gtkdfb
16         export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
17         export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig
18         cd $startdir/src/$pkgrealname-$pkgver/
19         ./configure --prefix=$PREFIX --enable-directfb --disable-xlib --disable-win32
20         make
21         make DESTDIR=$startdir/pkg install