# HG changeset patch # User Pascal Bellard # Date 1600619210 0 # Node ID 3996eb4260014cf03f07b2d25d266156046c1e19 # Parent 4d52a83c3268f229585469cb3a00428e510121b3 Add barrage & penguin-command (thanks rerievo) diff -r 4d52a83c3268 -r 3996eb426001 barrage/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/barrage/receipt Sun Sep 20 16:26:50 2020 +0000 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="barrage" +VERSION="1.0.5" +CATEGORY="games" +SHORT_DESC="Practice artillery nondestructive" +MAINTAINER="René Rivero " +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://lgames.sourceforge.net/Barrage/" +WGET_URL="https://ufpr.dl.sourceforge.net/project/lgames/$PACKAGE/$TARBALL" + +DEPENDS="libsdl libsdl-mixer" +BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure --localstatedir=/var/games && make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/share $fs/usr + cp -a $install/var $fs + cp -a $install/usr/bin $fs/usr + cp $install/usr/share/icons $fs/usr/share + chown -R root.root $fs +} diff -r 4d52a83c3268 -r 3996eb426001 penguin-command/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/penguin-command/receipt Sun Sep 20 16:26:50 2020 +0000 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="penguin-command" +VERSION="1.6.11" +CATEGORY="games" +SHORT_DESC="clone the classic Missile Command Game" +MAINTAINER="René Rivero " +LICENSE="GPL" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://linux-games.com/penguin-command/" +WGET_URL="https://ufpr.dl.sourceforge.net/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL" + +DEPENDS="libsdl libsdl-mixer libsdl-image" +BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libsdl-image-dev" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure && make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/applications + cp -a $install/usr/share/penguin-command $fs/usr/share + cp -a $install/usr/bin $fs/usr + cp $stuff/penguin-command.png $fs/usr/share/penguin-command/penguin-command.png + cp $stuff/penguin-command.desktop $fs/usr/share/applications + chown -R root.root $fs +} diff -r 4d52a83c3268 -r 3996eb426001 penguin-command/stuff/penguin-command.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/penguin-command/stuff/penguin-command.desktop Sun Sep 20 16:26:50 2020 +0000 @@ -0,0 +1,8 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Penguin Command +Comment=Missile Attack +Exec=/usr/bin/penguin-command +Icon=/usr/share/penguin-command/penguin-command.png +Type=Application +Categories=Application;Game; diff -r 4d52a83c3268 -r 3996eb426001 penguin-command/stuff/penguin-command.png Binary file penguin-command/stuff/penguin-command.png has changed