wok rev 1958

Add lbreakout2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 31 12:47:00 2008 +0000 (2008-12-31)
parents b082b30a05bd
children 2287993c1dc7
files lbreakout2/receipt lbreakout2/stuff/usr/share/applications/lbreakout2.desktop lbreakout2/stuff/usr/share/pixmaps/lbreakout48.png
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lbreakout2/receipt	Wed Dec 31 12:47:00 2008 +0000
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="lbreakout2"
     1.7 +VERSION="2.6beta-7"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="Breakout clone."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://lgames.sourceforge.net/index.php?project=LBreakout2"
    1.13 +#WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.14 +WGET_URL="http://prdownloads.sourceforge.net/lgames/$TARBALL"
    1.15 +DEPENDS="libpng libSDL"
    1.16 +BUILD_DEPENDS="libpng-dev libSDL-dev"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.23 +	--disable-sdltest --mandir=/usr/share/man $CONFIGURE_ARGS
    1.24 +	make
    1.25 +	make DESTDIR=$PWD/_pkg install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr
    1.32 +	cp -a $_pkg/usr/bin $fs/usr
    1.33 +	cp -a $_pkg/usr/share $fs/usr
    1.34 +	cp -a stuff/* $fs
    1.35 +}
    1.36 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/lbreakout2/stuff/usr/share/applications/lbreakout2.desktop	Wed Dec 31 12:47:00 2008 +0000
     2.3 @@ -0,0 +1,8 @@
     2.4 +[Desktop Entry]
     2.5 +Type=Application
     2.6 +Encoding=UTF-8
     2.7 +Name=Breakout clone
     2.8 +Exec=lbreakout2
     2.9 +Icon=lbreakout48.png
    2.10 +Terminal=false
    2.11 +Categories=Application;Game;
     3.1 Binary file lbreakout2/stuff/usr/share/pixmaps/lbreakout48.png has changed