wok-next diff tuxmath/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 8e1b2a143eb3
children 0f2575775b2d
line diff
     1.1 --- a/tuxmath/receipt	Sat Sep 01 16:21:51 2018 +0300
     1.2 +++ b/tuxmath/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -4,32 +4,27 @@
     1.4  SOURCE="tuxmath_w_fonts"
     1.5  VERSION="2.0.3"
     1.6  CATEGORY="games"
     1.7 -SHORT_DESC="Arcade game that helps kids practice their math facts."
     1.8 +SHORT_DESC="Arcade game that helps kids practice their math facts"
     1.9  MAINTAINER="claudinei@slitaz.org"
    1.10  LICENSE="GPL3"
    1.11 +WEB_SITE="https://alioth-archive.debian.org/releases/tux4kids/TuxMath-Source/"
    1.12 +
    1.13  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14 -WEB_SITE="https://alioth-archive.debian.org/releases/tux4kids/TuxMath-Source/"
    1.15  WGET_URL="https://alioth.debian.org/frs/download.php/3571/$TARBALL"
    1.16  
    1.17 -DEPENDS="libt4k_common libsdl librsvg libsdl-image libsdl-mixer libsdl-ttf \
    1.18 -libsdl-net libsdl-pango"
    1.19  BUILD_DEPENDS="libt4k_common-dev libsdl-dev librsvg-dev libsdl-image-dev \
    1.20  libsdl-mixer-dev libsdl-ttf-dev libsdl-net-dev libsdl-pango-dev"
    1.21 -TAGS="education"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 -	./configure LIBS="-lt4k_common" \
    1.27 +compile_rules() {
    1.28 +	./configure \
    1.29 +		LIBS="-lt4k_common" \
    1.30  		--prefix=/usr \
    1.31  		$CONFIGURE_ARGS &&
    1.32  	make &&
    1.33 -	make DESTDIR=$DESTDIR install
    1.34 +	make DESTDIR=$install install
    1.35  }
    1.36  
    1.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 -genpkg_rules()
    1.39 -{
    1.40 +genpkg_rules() {
    1.41  	mkdir -p $fs/usr $fs/usr/share
    1.42  	cp -a $install/usr/bin $fs/usr
    1.43  	cp -a $install/usr/share/tuxmath $fs/usr/share
    1.44 @@ -39,5 +34,7 @@
    1.45  		cp -a $install/usr/share/locale/$lang/LC_MESSAGES/tuxmath.mo \
    1.46  		        $fs/usr/share/locale/$lang/LC_MESSAGES
    1.47  	done
    1.48 +	DEPENDS="libt4k_common libsdl librsvg libsdl-image libsdl-mixer libsdl-ttf \
    1.49 +	libsdl-net libsdl-pango"
    1.50 +	TAGS="education"
    1.51  }
    1.52 -