wok annotate barrage/receipt @ rev 25696
created recipe for dool
author | Hans-G?nter Theisgen |
---|---|
date | Sat May 11 17:17:55 2024 +0100 (6 months ago) |
parents | 3105f866bc3e |
children | e7bac1c24680 |
rev | line source |
---|---|
pascal@23948 | 1 # SliTaz package receipt. |
pascal@23948 | 2 |
pascal@23948 | 3 PACKAGE="barrage" |
pascal@23948 | 4 VERSION="1.0.5" |
pascal@23948 | 5 CATEGORY="games" |
pascal@23948 | 6 SHORT_DESC="Practice artillery nondestructive" |
pascal@23948 | 7 MAINTAINER="René Rivero <arca1085@gmail.com>" |
pascal@23948 | 8 LICENSE="GPL2" |
pascal@23948 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25469 | 10 WEB_SITE="https://lgames.sourceforge.net/Barrage/" |
pascal@23948 | 11 WGET_URL="https://ufpr.dl.sourceforge.net/project/lgames/$PACKAGE/$TARBALL" |
pascal@23948 | 12 |
pascal@23948 | 13 DEPENDS="libsdl libsdl-mixer" |
pascal@23948 | 14 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev" |
pascal@23948 | 15 |
pascal@24353 | 16 # What is the latest version available today? |
pascal@24353 | 17 current_version() |
pascal@24353 | 18 { |
pascal@24353 | 19 wget -O - https://sourceforge.net/projects/lgames/files/barrage/ 2>/dev/null | \ |
pascal@24353 | 20 sed '/scope="row/!d;/tar/!d;s|.*/barrage-||;s|.tar.*||;q' |
pascal@24353 | 21 } |
pascal@24353 | 22 |
pascal@23948 | 23 # Rules to configure and make the package. |
pascal@23948 | 24 compile_rules() |
pascal@23948 | 25 { |
pascal@23948 | 26 ./configure --localstatedir=/var/games && make && make install |
pascal@23948 | 27 } |
pascal@23948 | 28 |
pascal@23948 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@23948 | 30 genpkg_rules() |
pascal@23948 | 31 { |
pascal@23948 | 32 mkdir -p $fs/usr |
pascal@23948 | 33 cp -a $install/usr/share $fs/usr |
pascal@23948 | 34 cp -a $install/var $fs |
pascal@23948 | 35 cp -a $install/usr/bin $fs/usr |
pascal@23948 | 36 cp $install/usr/share/icons $fs/usr/share |
pascal@23948 | 37 chown -R root.root $fs |
pascal@23948 | 38 } |