1 # Description: A clone of Atomic Bomberman (SDL/MultiPlayer/Network).
2 # URL: http://www.bomberclone.de/
3 # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
4 # Packager: James Mills, prologic at shortcircuit dot net dot au
5 # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
6 # Depends on: sdl_image
11 source=(http://downloads.sourceforge.net/sourceforge/bomberclone/bomberclone-$version.tar.bz2)
14 cd bomberclone-$version
15 sed -i configure.in -e '/^packagedatadir=/s|share/games/${PACKAGE}|share/${PACKAGE}|'
17 export DEFAULT_LIBS="-L$CLFS/usr/lib"
18 export DEFAULT_CFLAGS="-I$CLFS/usr/include"
19 export SDL_LIBS="$DEFAULT_LIBS -lSDL -lSDL_image -lpthread"
20 export SDL_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_LIBSDL_IMAGE"
22 ./configure --build=$CHOST \
25 --with-sdl-prefix=$CLFS/usr \
29 make CFLAGS="$CFLAGS $SDL_CFLAGS" LDFLAGS="$LDFLAGS $SDL_LIBS"
30 make DESTDIR=$PKG install
31 rm -r $PKG/usr/share/doc