PKGBUILDs/extra/cegui/PKGBUILD
2009-10-23 21:14:54 -05:00

29 lines
983 B
Bash

# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
# Contributors: William Rea <sillywilly@gmail.com>,
# Bjorn Lindeijer <bjorn@lindeijer.nl>
pkgname=cegui
pkgver=0.6.2b
pkgrel=4
pkgdesc="A free library providing windowing and widgets for graphics APIs/engines"
arch=('arm')
url="http://crayzedsgui.sourceforge.net"
options=('!libtool')
license=("MIT")
depends=('pcre' 'expat' 'freetype2' 'libxml2' 'devil' 'freeglut' 'lua' 'silly')
[ "$CARCH" = "x86_64" ] && depends=(${depends[@]} 'silly')
source=(http://downloads.sourceforge.net/crayzedsgui/CEGUI-$pkgver.tar.gz)
md5sums=('4fbd95e5a2ac1c7acf2a8f5df3ac6b93')
build() {
cd $startdir/src/CEGUI-0.6.2
./configure --prefix=/usr --sysconfdir=/etc --enable-devil --enable-silly \
--disable-xerces-c --with-default-image-codec=SILLYImageCodec \
--enable-lua
make || return 1
make DESTDIR=$startdir/pkg install
install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
}