wok-6.x diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/barrage/receipt	Mon Jul 05 15:00:07 2021 +0000
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="barrage"
     1.7 +VERSION="1.0.5"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="Practice artillery nondestructive"
    1.10 +MAINTAINER="René Rivero <arca1085@gmail.com>"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://lgames.sourceforge.net/Barrage/"
    1.14 +WGET_URL="https://ufpr.dl.sourceforge.net/project/lgames/$PACKAGE/$TARBALL"
    1.15 +
    1.16 +DEPENDS="libsdl libsdl-mixer"
    1.17 +BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	./configure --localstatedir=/var/games && make && make install
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr
    1.29 +	cp -a $install/usr/share $fs/usr
    1.30 +	cp -a $install/var $fs
    1.31 +	cp -a $install/usr/bin $fs/usr
    1.32 +	cp $install/usr/share/icons $fs/usr/share
    1.33 +	chown -R root.root $fs
    1.34 +}