# Description: Aop is a curses based arcade game.
# URL: http://raffi.at/view/code/aop
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
# Depends on: ncurses
name=aop
# URL: http://ip9.org/munro/invaders/
# Packager: Jose V Beneyto, sepen at crux dot nu
# Maintainer: Jose V Beneyto, sepen at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
# Depends on: ncurses
name=ascii-invaders
# URL: http://www.bomberclone.de/
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Packager: James Mills, prologic at shortcircuit dot net dot au
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
# Depends on: sdl_image
name=bomberclone
--- /dev/null
+# Description: Action game similar to Super Pang
+# URL: http://www.losersjuegos.com.ar/juegos/ceferino/ceferino.php
+# Packager: Jose V Beneyto, sepen at crux dot nu
+# Maintainer: Jose V Beneyto, sepen at crux dot nu
+# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
+# Depends on: sdl_image
+
+name=ceferino
+version=0.97.8
+release=1
+source=(http://www.losersjuegos.com.ar/_media/juegos/$name/descargas/$name-$version.tar.gz)
+
+build() {
+ cd $name-$version
+
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --disable-nls
+
+ make
+ make DESTDIR=$PKG install
+}
# Description: SDL-based DOS emulator for classic games
# URL: http://dosbox.sourceforge.net
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
# Depends on: libsdl
name=dosbox
# Description: This game was originally a 'dope wars' clone
# URL: http://sourceforge.net/projects/dwars/
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
# Depends on: ncurses
name=dwars
--- /dev/null
+# Description: Shoot balls and get 3 of the same colour in a group to make them drop.
+# URL: http://www.frozen-bubble.org/
+# Packager: Danny Rawlins, monster dot romster at gmail dot com
+# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
+# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
+# Depends on: p5-sdl1-perl sdl_pango p5-locale-gettext
+
+name=frozen-bubble
+version=2.2.0
+release=1
+source=(http://www.frozen-bubble.org/data/$name-$version.tar.bz2
+ $name.desktop)
+
+build() {
+ cd $name-$version
+
+ sed -i settings.mk \
+ -e "s|PREFIX = .*|PREFIX = /usr|" \
+ -e 's|MANDIR = .*|MANDIR = $(PREFIX)/man|'
+
+ make DIRST="c_stuff server"
+ make DESTDIR=$PKG install
+ rm -r $PKG/usr/share/locale
+
+ # install icons
+ install -D -m 0644 icons/frozen-bubble-icon-16x16.png $PKG/usr/share/icons/hicolor/16x16/apps/frozen-bubble.png
+ install -D -m 0644 icons/frozen-bubble-icon-32x32.png $PKG/usr/share/icons/hicolor/32x32/apps/frozen-bubble.png
+ install -D -m 0644 icons/frozen-bubble-icon-48x48.png $PKG/usr/share/icons/hicolor/48x48/apps/frozen-bubble.png
+ install -D -m 0644 icons/frozen-bubble-icon-64x64.png $PKG/usr/share/icons/hicolor/64x64/apps/frozen-bubble.png
+
+ # install menu entry
+ install -D -m 0644 $SRC/frozen-bubble.desktop $PKG/usr/share/applications/frozen-bubble.desktop
+
+ # Remove perlcrap
+ find $PKG \( \
+ -name '.packlist' -o \
+ -name '*.bs' -o \
+ -name 'autosplit.ix' -o \
+ -name 'perllocal.pod' \) -delete
+
+ # Remove empty directories
+ find $PKG -depth -empty -delete
+}
# Description: A Clone of Darkwood, an old mac game
# URL: http://sourceforge.net/projects/graywood
# Maintainer: Victor Martinez, pitillo at ono dot com
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
# Depends on: ncurses
name=graywood
# URL: ftp://ftp.netris.org/pub/netris/
# Packager: Jukka Heino, jukka dot heino at gmail dot com
# Maintainer: Antti Nykanen, aon at iki dot fi
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
# Depends on: ncurses
name=netris
# Description: Bad Boulder-Dash clone for unix terminals in ASCII
# URL: http://sourceforge.net/projects/nnn/
# Maintainer: Victor Martinez, pitillo at ono dot com
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
# Depends on: ncurses
name=nnn
# Description: nPush is a logic game similar to Sokoban and Boulder Dash
# URL: http://npush.sourceforge.net/
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
# Depends on:
name=npush
# Description: The classic Roguelike game
# URL: http://www.alcyone.com/max/projects/omega/
# Maintainer: Victor Martinez, pitillo at ono dot com
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
# Depends on: ncurses
name=omega
# URL: http://code.google.com/p/opentyrian
# Packager: Jose V Beneyto, sepen at crux dot nu
# Maintainer: Jose V Beneyto, sepen at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
# Depends on: sdl_net
name=opentyrian
# Description: clone and enhancement of Super Pang
# URL: http://apocalypse.rulez.org/pangzero
# Maintainer: Victor Martinez, pitillo at ono dot com
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
# Depends on: p5-sdl
name=pangzero
# Description: Pure Doom port with the highest compatibility to the major Doom versions
# URL: http://prboom.sourceforge.net/
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
# Depends on: sdl_net
# URL: http://cyxdown.free.fr/reminiscence/
# Maintainer: Jose V Beneyto, sepen at crux dot nu
# Packager: Jose V Beneyto, sepen at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
# Depends on: zlib libsdl
name=reminiscence
# Packager: Matt Housh jaeger at crux dot nu
# Maintainer: Thomas Penteker tek at serverop dot de
# Packager: Matt Housh jaeger at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
# Depends on: zlib libsdl
name=scummvm
# URL: http://stella.sourceforge.net/
# Maintainer: Jose V Beneyto, sepen at crux dot nu
# Packager: Jose V Beneyto, sepen at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
# Depends on: libsdl
name=stella
# Description: Modular game in ascii to control a team of fighters
# URL: http://sourceforge.net/projects/warena-game/
# Maintainer: Victor Martinez, pitillo at ono dot com
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
# Depends on: ncurses
name=warena-game
--- /dev/null
+# Description: a challenging 2D motocross platform game, where physics play an all important role in the gameplay
+# URL: http://xmoto.tuxfamily.org
+# Maintainer: Jose V Beneyto, sepen at crux dot nu
+# Packager: sten, nick dot steeves at shaw dot ca
+# Depends on: sdl_mixer sdl_net sdl_ttf
+
+name=xmoto
+version=0.5.2
+release=1
+source=(http://download.tuxfamily.org/$name/$name/$version/$name-$version-src.tar.gz)
+
+build() {
+ cd $name-$version
+
+ echo "ac_cv_lib_GLU_gluBuild2DMipmaps=yes" > config.cache
+ sed 's|-lGLU||g' -i configure
+
+ export SDL_CONFIG="$CLFS/usr/bin/sdl-config"
+ export SDL_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT"
+ export SDL_LDLIBS="-L$CLFS/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lSDL_net"
+
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --with-x \
+ --with-renderer-openGl=0 \
+ --with-renderer-sdlGfx=1 \
+ --disable-sdltest \
+ --disable-debug \
+ --disable-nls \
+ --cache-file=config.cache
+
+ make
+ make DESTDIR=$PKG install
+ rm -rf $PKG/usr/share/{doc,locale}
+}
# Description: Rick Dangerous clone
# URL: http://www.bigorno.net/xrick/
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
# Depends on: zlib libsdl
name=xrick
--- /dev/null
+# Description: An open-source Super Nintendo emulator.
+# URL: http://www.zsnes.com/
+# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
+# Packager: Simone Rota, sip at crux dot nu
+# Depends on: libpng libsdl ncurses
+
+name=zsnes
+version=1.51
+release=2
+source=(http://downloads.sourceforge.net/zsnes/zsnes${version/./}src.tar.bz2
+ zsnes-1.51-gcc43.patch)
+
+build() {
+ cd zsnes_${version/./_}/src
+
+ export DEFAULT_LIBS="-L$CLFS/usr/lib"
+ export DEFAULT_CFLAGS="-I$CLFS/usr/include"
+ export SDL_LIBS="$DEFAULT_LIBS -lSDL -lpthread"
+ export SDL_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT"
+ export ZLIB_LIBS="$DEFAULT_LIBS"
+ export ZLIB_CFLAGS="$DEFAULT_CFLAGS"
+ export LIBPNG_LIBS="$DEFAULT_LIBS -lpng12"
+ export LIBPNG_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/libpng12"
+
+ # build host tools
+ env CC="gcc" CXX="g++" CXXFLAGS="-L/usr/lib -I/usr/include -I. -Itools" \
+ ./configure --prefix=/usr \
+ --disable-cpucheck \
+ --disable-sdltest \
+ --with-sdl-prefix=$CLFS/usr/bin
+
+ make tools/depbuild \
+ CXX="g++" \
+ CXXFLAGS="-L/usr/lib -I/usr/include -I. -Itools"
+ mv tools/depbuild{,.host}
+ make clean
+
+ patch -d ../ -p 1 -i $SRC/zsnes-1.51-gcc43.patch
+ sed -i configure \
+ -e 's|with_zlib=""|with_zlib=yes|' \
+ -e 's| -march=.*"|"|g' \
+ -e "s|-I/usr|-I$CLFS/usr|g" \
+ -e "s|-L/usr|-L$CLFS/usr|g" \
+ -e 's|depbuild|depbuild.host|g'
+
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --with-x \
+ --disable-cpucheck \
+ --disable-sdltest \
+ --with-sdl-prefix=$CLFS/usr/bin
+
+ make
+ install -D -m 0755 zsnes $PKG/usr/bin/zsnes
+ install -D -m 0644 linux/zsnes.1 $PKG/usr/man/man1/zsnes.1
+ install -D -m 0644 linux/zsnes.desktop $PKG/usr/share/applications/zsnes.desktop
+ install -D -m 0644 icons/16x16x32.png $PKG/usr/share/icons/hicolor/16x16/apps/zsnes.png
+ install -D -m 0644 icons/32x32x32.png $PKG/usr/share/icons/hicolor/32x32/apps/zsnes.png
+ install -D -m 0644 icons/48x48x32.png $PKG/usr/share/icons/hicolor/48x48/apps/zsnes.png
+ install -D -m 0644 icons/64x64x32.png $PKG/usr/share/icons/hicolor/64x64/apps/zsnes.png
+}