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