wok-6.x diff supertux/receipt @ rev 13475

Add: afio
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Oct 09 16:12:30 2012 +0200 (2012-10-09)
parents 940b5937e496
children 6b09507225ec
line diff
     1.1 --- a/supertux/receipt	Wed Mar 02 11:06:20 2011 +0100
     1.2 +++ b/supertux/receipt	Tue Oct 09 16:12:30 2012 +0200
     1.3 @@ -5,20 +5,22 @@
     1.4  CATEGORY="games"
     1.5  SHORT_DESC="SuperTux is a classic 2D jump'n run sidescroller game in a style similar to the original SuperMario games."
     1.6  MAINTAINER="mallory@skyrock.com"
     1.7 -DEPENDS="libsdl libsdl-image libsdl-mixer curl physfs openal mesa glew"
     1.8 +DEPENDS="libsdl libsdl-image libsdl-mixer curl physfs openal mesa glew supertux-data"
     1.9  SUGGESTED="nvidia"
    1.10  BUILD_DEPENDS="libsdl-dev libsdl-image-dev libsdl-mixer-dev curl-dev physfs-dev openal-dev mesa-dev glew-dev cmake libboost-dev"
    1.11  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12  WEB_SITE="http://supertux.lethargik.org/"
    1.13 -WGET_URL="http://download.berlios.de/supertux/$TARBALL"
    1.14 +WGET_URL="http://supertux.googlecode.com/files/$TARBALL"
    1.15  
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18  {
    1.19  	cd $src
    1.20  	cp $stuff/menu.h src
    1.21 +	sed -i 's|#  include <curl/types.h>||g' src/addon/addon_manager.cpp
    1.22 +	sed -i '1i#include <cstddef>' src/supertux/screen_manager.hpp
    1.23  	cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin .
    1.24 -	make && make DESTDIR=$PWD/_pkg install
    1.25 +	make && make DESTDIR=$DESTDIR install
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 @@ -26,7 +28,5 @@
    1.30  {
    1.31  	mkdir -p $fs/usr
    1.32  	cp -a $_pkg/usr/bin $fs/usr
    1.33 -	echo Copying data...
    1.34 -	cp -a $_pkg/usr/share $fs/usr
    1.35  }
    1.36