1 # Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
7 pkgdesc="Glest Advanced Engine is a community driven project which extends and improves on Glest."
9 url="https://sourceforge.net/apps/trac/glestae/"
11 depends=('sdl' 'libvorbis' 'openal' 'mesa' 'lua' 'physfs' 'glew')
13 optdepends=('wxgtk: for optional gae_mapeditor, gae_g3dviewer, and glest_configurator'
14 'libmxl2: for extra xml handling'
15 'cppunit: for testing'
16 'doxygen: for documentation')
17 conflicts=('glestae-svn')
18 install=glestadv.install
19 source=("http://downloads.sourceforge.net/${_srcnam}/${_srcnam}-src-${pkgver}.tar.bz2")
20 md5sums=('83fec41c3c163dfb8437df93e98b5901')
23 cd ${_srcnam}-src-${pkgver}
26 cmake -G "Unix Makefiles" \
27 -DCMAKE_INSTALL_PREFIX:PATH=/usr \
28 -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
29 -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \
30 -DBUILD_TYPE=Release .. || return 1
32 make VERBOSE=1 || return 1
36 cd ${_srcnam}-src-${pkgver}/build
37 make install DESTDIR="$pkgdir" || return 1