wok-6.x view barrage/receipt @ rev 24066
Add some current_version()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 05 15:00:07 2021 +0000 (2021-07-05) |
parents | |
children | 3105f866bc3e |
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 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure --localstatedir=/var/games && make && make install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $install/usr/share $fs/usr
27 cp -a $install/var $fs
28 cp -a $install/usr/bin $fs/usr
29 cp $install/usr/share/icons $fs/usr/share
30 chown -R root.root $fs
31 }