wok diff supertux/receipt @ rev 2395

dropbear: improve start script
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 10 09:13:49 2009 +0000 (2009-03-10)
parents
children 8c4a70e18847
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/supertux/receipt	Tue Mar 10 09:13:49 2009 +0000
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="supertux"
     1.7 +VERSION="0.1.3"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="SuperTux is a classic 2D jump'n run sidescroller game in a style similar to the original SuperMario games."
    1.10 +MAINTAINER="mallory@skyrock.com"
    1.11 +DEPENDS="libSDL libsdl-image libsdl-mixer"
    1.12 +BUILD_DEPENDS="libSDL-dev libsdl-image-dev libsdl-mixer-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://supertux.lethargik.org/"
    1.15 +WGET_URL="http://download.berlios.de/supertux/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	cp ../stuff/menu.h src
    1.22 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.23 +	--mandir=/usr/share/man $CONFIGURE_ARGS && \
    1.24 +	make && make DESTDIR=$PWD/_pkg install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr
    1.31 +	cp -a $_pkg/usr/bin $fs/usr
    1.32 +	echo Copying data...
    1.33 +	cp -a $_pkg/usr/share $fs/usr
    1.34 +}
    1.35 +