wok-current view penguin-command/receipt @ rev 25393
updated util-linux packages (2.35.1 -> 2.38)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Aug 01 16:38:43 2022 +0100 (2022-08-01) |
parents | 3996eb426001 |
children |
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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/penguin-command/files/penguin-command/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/penguin-command/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure && make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/applications
34 cp -a $install/usr/share/penguin-command $fs/usr/share
35 cp -a $install/usr/bin $fs/usr
36 cp $stuff/penguin-command.png $fs/usr/share/penguin-command/penguin-command.png
37 cp $stuff/penguin-command.desktop $fs/usr/share/applications
38 chown -R root.root $fs
39 }