# HG changeset patch # User Christopher Rogers # Date 1323551139 0 # Node ID 62e8a8e12e45c3dfe5f1d6016278f152c0b346d0 # Parent 04615b88ff4541c5ee0c4858f3594c4357b55170 supertux: Fixed. Add supertux-data receipt. diff -r 04615b88ff45 -r 62e8a8e12e45 supertux-data/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/supertux-data/receipt Sat Dec 10 21:05:39 2011 +0000 @@ -0,0 +1,17 @@ +# SliTaz package receipt. + +PACKAGE="supertux-data" +VERSION="0.3.3" +CATEGORY="games" +SHORT_DESC="SuperTux data files" +MAINTAINER="slaxemulator@gmail.com" +WEB_SITE="http://supertux.lethargik.org/" +WANTED="supertux" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + echo Copying data... + mkdir -p $fs/usr/share + cp -a $_pkg/usr/share/games $fs/usr/share +} diff -r 04615b88ff45 -r 62e8a8e12e45 supertux/receipt --- a/supertux/receipt Sat Dec 10 20:55:45 2011 +0000 +++ b/supertux/receipt Sat Dec 10 21:05:39 2011 +0000 @@ -5,20 +5,22 @@ CATEGORY="games" SHORT_DESC="SuperTux is a classic 2D jump'n run sidescroller game in a style similar to the original SuperMario games." MAINTAINER="mallory@skyrock.com" -DEPENDS="libsdl libsdl-image libsdl-mixer curl physfs openal mesa glew" +DEPENDS="libsdl libsdl-image libsdl-mixer curl physfs openal mesa glew supertux-data" SUGGESTED="nvidia" BUILD_DEPENDS="libsdl-dev libsdl-image-dev libsdl-mixer-dev curl-dev physfs-dev openal-dev mesa-dev glew-dev cmake libboost-dev" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://supertux.lethargik.org/" -WGET_URL="http://download.berlios.de/supertux/$TARBALL" +WGET_URL="http://supertux.googlecode.com/files/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src cp $stuff/menu.h src + sed -i 's|# include ||g' src/addon/addon_manager.cpp + sed -i '1i#include ' src/supertux/screen_manager.hpp cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin . - make && make DESTDIR=$PWD/_pkg install + make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -26,7 +28,5 @@ { mkdir -p $fs/usr cp -a $_pkg/usr/bin $fs/usr - echo Copying data... - cp -a $_pkg/usr/share $fs/usr }