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