1 # Description: REminiscence is a rewrite of the engine used in the game Flashback from Delphine Software.
2 # URL: http://cyxdown.free.fr/reminiscence/
3 # Maintainer: Jose V Beneyto, sepen at crux dot nu
4 # Packager: Jose V Beneyto, sepen at crux dot nu
5 # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
6 # Depends on: zlib libsdl
11 source=(http://cyxdown.free.fr/$name/REminiscence-$version.tar.bz2 \
12 $name-$version.nosound.patch)
15 cd REminiscence-$version
17 patch -p1 -i $SRC/$name-$version.nosound.patch
18 sed -e "s|CXXFLAGS:=|CXXFLAGS:= $CXXFLAGS|" Makefile
21 DEFINES="-DBYPASS_PROTECTION -DNO_SDL_MIXER" \
23 SDL_LIBS="-L$CLFS/usr/lib -lSDL -lpthread" \
24 SDL_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT" \
26 install -d $PKG/usr/{bin,share/$name/data}
27 install -D -m 0755 rs $PKG/usr/share/$name/rs
29 cat > $PKG/usr/bin/$name << __EOF__
33 ./rs --datapath=/usr/share/$name/data \$@
38 chmod +x $PKG/usr/bin/$name