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