wok-current diff penguin-command/receipt @ rev 24053

Up slitaz-boot-script (471)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 27 13:42:59 2021 +0000 (2021-05-27)
parents
children 370da83187ab
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/penguin-command/receipt	Thu May 27 13:42:59 2021 +0000
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="penguin-command"
     1.7 +VERSION="1.6.11"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="clone the classic Missile Command Game"
    1.10 +MAINTAINER="René Rivero <arca1085@gmail.com>"
    1.11 +LICENSE="GPL"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://linux-games.com/penguin-command/"
    1.14 +WGET_URL="https://ufpr.dl.sourceforge.net/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
    1.15 +
    1.16 +DEPENDS="libsdl libsdl-mixer libsdl-image"
    1.17 +BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libsdl-image-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	./configure && make && make install
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr/share/applications
    1.29 +	cp -a $install/usr/share/penguin-command $fs/usr/share
    1.30 +	cp -a $install/usr/bin $fs/usr
    1.31 +	cp $stuff/penguin-command.png $fs/usr/share/penguin-command/penguin-command.png
    1.32 +	cp $stuff/penguin-command.desktop $fs/usr/share/applications
    1.33 +	chown -R root.root $fs
    1.34 +}