1 # Description: real-time, multi-player space warfare game
2 # URL: http://www.radscan.com/conquest.html
3 # Maintainer: Victor Martinez, pitillo at ono dot com
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
10 source=(http://dl.sourceforge.net/conq/$name-$version.src.tar.gz)
15 cat > config.cache <<EOF
16 ac_cv_func_setpgrp_void=yes
19 export CFLAGS="$CFLAGS -DHAVE_MMAP"
21 ./configure --build=$CHOST \
25 --with-sdl-prefix=$CLFS/usr \
28 --cache-file=config.cache
30 find . -type f -name Makefile -exec \
32 -e "s|SDL_CFLAGS = .*|SDL_CFLAGS = $SDL_CFLAGS|" \
33 -e "s|SDL_CFLAGS = .*|SDL_CFLAGS = $SDL_CFLAGS|" \
34 -e "s|-I/usr|-I$CLFS/usr|" \
35 -e "s|-L/usr|-L$CLFS/usr|" \;
38 make DESTDIR=$PKG CONQDATADIR="/usr/share/$name" CONQGROUP=root libexecdir="/usr/bin/" install
39 rm -r $PKG/usr/share/$name/doc/