wok-6.x annotate barrage/receipt @ rev 24927
updated mpg123 and mpg123-dev (1.25.13 -> 1.29.3)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 13 14:23:00 2022 +0100 (2022-04-13) |
parents | 3996eb426001 |
children | b0069c845544 |
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@23948 | 10 WEB_SITE="http://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 } |