1 # Description: a challenging 2D motocross platform game, where physics play an all important role in the gameplay
2 # URL: http://xmoto.tuxfamily.org
3 # Maintainer: Jose V Beneyto, sepen at crux dot nu
4 # Packager: sten, nick dot steeves at shaw dot ca
5 # Depends on: sdl_mixer sdl_net sdl_ttf
10 source=(http://download.tuxfamily.org/$name/$name/$version/$name-$version-src.tar.gz)
15 echo "ac_cv_lib_GLU_gluBuild2DMipmaps=yes" > config.cache
16 sed 's|-lGLU||g' -i configure
18 export SDL_CONFIG="$CLFS/usr/bin/sdl-config"
19 export SDL_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT"
20 export SDL_LDLIBS="-L$CLFS/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lSDL_net"
22 ./configure --build=$CHOST \
26 --with-renderer-openGl=0 \
27 --with-renderer-sdlGfx=1 \
31 --cache-file=config.cache
34 make DESTDIR=$PKG install
35 rm -rf $PKG/usr/share/{doc,locale}