wok-6.x view barrage/receipt @ rev 24990
idesk: imlib2 >= 1.7.5 support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 13 20:03:04 2022 +0000 (2022-05-13) |
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 }