wok-current annotate 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 |
rev | line source |
---|---|
pascal@23948 | 1 # SliTaz package receipt. |
pascal@23948 | 2 |
pascal@23948 | 3 PACKAGE="penguin-command" |
pascal@23948 | 4 VERSION="1.6.11" |
pascal@23948 | 5 CATEGORY="games" |
pascal@23948 | 6 SHORT_DESC="clone the classic Missile Command Game" |
pascal@23948 | 7 MAINTAINER="René Rivero <arca1085@gmail.com>" |
pascal@23948 | 8 LICENSE="GPL" |
pascal@23948 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@23948 | 10 WEB_SITE="http://linux-games.com/penguin-command/" |
pascal@23948 | 11 WGET_URL="https://ufpr.dl.sourceforge.net/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL" |
pascal@23948 | 12 |
pascal@23948 | 13 DEPENDS="libsdl libsdl-mixer libsdl-image" |
pascal@23948 | 14 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libsdl-image-dev" |
pascal@23948 | 15 |
pascal@23948 | 16 # Rules to configure and make the package. |
pascal@23948 | 17 compile_rules() |
pascal@23948 | 18 { |
pascal@23948 | 19 ./configure && make && make install |
pascal@23948 | 20 } |
pascal@23948 | 21 |
pascal@23948 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@23948 | 23 genpkg_rules() |
pascal@23948 | 24 { |
pascal@23948 | 25 mkdir -p $fs/usr/share/applications |
pascal@23948 | 26 cp -a $install/usr/share/penguin-command $fs/usr/share |
pascal@23948 | 27 cp -a $install/usr/bin $fs/usr |
pascal@23948 | 28 cp $stuff/penguin-command.png $fs/usr/share/penguin-command/penguin-command.png |
pascal@23948 | 29 cp $stuff/penguin-command.desktop $fs/usr/share/applications |
pascal@23948 | 30 chown -R root.root $fs |
pascal@23948 | 31 } |