wok-next rev 11405
supertux: Fixed. Add supertux-data receipt.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Dec 10 21:05:39 2011 +0000 (2011-12-10) |
parents | 04615b88ff45 |
children | 7bff78b35374 |
files | supertux-data/receipt supertux/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/supertux-data/receipt Sat Dec 10 21:05:39 2011 +0000 1.3 @@ -0,0 +1,17 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="supertux-data" 1.7 +VERSION="0.3.3" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="SuperTux data files" 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +WEB_SITE="http://supertux.lethargik.org/" 1.12 +WANTED="supertux" 1.13 + 1.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.15 +genpkg_rules() 1.16 +{ 1.17 + echo Copying data... 1.18 + mkdir -p $fs/usr/share 1.19 + cp -a $_pkg/usr/share/games $fs/usr/share 1.20 +}
2.1 --- a/supertux/receipt Sat Dec 10 20:55:45 2011 +0000 2.2 +++ b/supertux/receipt Sat Dec 10 21:05:39 2011 +0000 2.3 @@ -5,20 +5,22 @@ 2.4 CATEGORY="games" 2.5 SHORT_DESC="SuperTux is a classic 2D jump'n run sidescroller game in a style similar to the original SuperMario games." 2.6 MAINTAINER="mallory@skyrock.com" 2.7 -DEPENDS="libsdl libsdl-image libsdl-mixer curl physfs openal mesa glew" 2.8 +DEPENDS="libsdl libsdl-image libsdl-mixer curl physfs openal mesa glew supertux-data" 2.9 SUGGESTED="nvidia" 2.10 BUILD_DEPENDS="libsdl-dev libsdl-image-dev libsdl-mixer-dev curl-dev physfs-dev openal-dev mesa-dev glew-dev cmake libboost-dev" 2.11 TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.12 WEB_SITE="http://supertux.lethargik.org/" 2.13 -WGET_URL="http://download.berlios.de/supertux/$TARBALL" 2.14 +WGET_URL="http://supertux.googlecode.com/files/$TARBALL" 2.15 2.16 # Rules to configure and make the package. 2.17 compile_rules() 2.18 { 2.19 cd $src 2.20 cp $stuff/menu.h src 2.21 + sed -i 's|# include <curl/types.h>||g' src/addon/addon_manager.cpp 2.22 + sed -i '1i#include <cstddef>' src/supertux/screen_manager.hpp 2.23 cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin . 2.24 - make && make DESTDIR=$PWD/_pkg install 2.25 + make && make DESTDIR=$DESTDIR install 2.26 } 2.27 2.28 # Rules to gen a SliTaz package suitable for Tazpkg. 2.29 @@ -26,7 +28,5 @@ 2.30 { 2.31 mkdir -p $fs/usr 2.32 cp -a $_pkg/usr/bin $fs/usr 2.33 - echo Copying data... 2.34 - cp -a $_pkg/usr/share $fs/usr 2.35 } 2.36