wok view barrage/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents b0069c845544
children
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="https://lgames.sourceforge.net/Barrage/"
11 WGET_URL="https://downloads.sourceforge.net/lgames/$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 }