wok-current diff tuxtype/receipt @ rev 11904

cyrus-imapd: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 29 20:32:37 2012 +0100 (2012-02-29)
parents 866fa2493b1b
children aa6d337302ab
line diff
     1.1 --- a/tuxtype/receipt	Wed Feb 24 12:13:18 2010 +0000
     1.2 +++ b/tuxtype/receipt	Wed Feb 29 20:32:37 2012 +0100
     1.3 @@ -2,16 +2,17 @@
     1.4  
     1.5  PACKAGE="tuxtype"
     1.6  SOURCE="tuxtype_w_fonts"
     1.7 -VERSION="1.8.0"
     1.8 +VERSION="1.8.1"
     1.9  CATEGORY="games"
    1.10  SHORT_DESC="Educational typing tutor for kids."
    1.11  MAINTAINER="claudinei@slitaz.org"
    1.12  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.13  WEB_SITE="http://tux4kids.alioth.debian.org"
    1.14 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.15 -DEPENDS="libsdl libsdl-image libsdl-mixer libsdl-ttf"
    1.16 -BUILD_DEPENDS="$DEPENDS libsdl-dev libsdl-image-dev libsdl-mixer-dev \
    1.17 -libsdl-ttf-dev"
    1.18 +WGET_URL="https://alioth.debian.org/frs/download.php/3270/$TARBALL"
    1.19 +DEPENDS="libt4k_common libsdl librsvg libsdl-image libsdl-mixer libsdl-ttf \
    1.20 +libsdl-net libsdl-pango"
    1.21 +BUILD_DEPENDS="libt4k_common-dev libsdl-dev librsvg-dev libsdl-image-dev \
    1.22 +libsdl-mixer-dev libsdl-ttf-dev libsdl-net-dev libsdl-pango-dev"
    1.23  TAGS="education"
    1.24  
    1.25  
    1.26 @@ -21,12 +22,14 @@
    1.27  	cd $src
    1.28  	./configure \
    1.29  		--prefix=/usr \
    1.30 -		--localstatedir=/var/games \
    1.31 -		--without-sdlpango \
    1.32 -		--without-rsvg \
    1.33 +		--localstatedir=/var/games
    1.34  		$CONFIGURE_ARGS &&
    1.35 -	make &&
    1.36 -	make DESTDIR=$PWD/_pkg install
    1.37 +	make 
    1.38 +	# Adding the games group satisfies the install script.
    1.39 +	addgroup games 
    1.40 +	make DESTDIR=$PWD/_pkg install 
    1.41 +	# We don't need to leave this behind in the build environment.
    1.42 +	delgroup games
    1.43  }
    1.44  
    1.45  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.46 @@ -41,5 +44,12 @@
    1.47  		cp -a $_pkg/usr/share/locale/$lang/LC_MESSAGES/tuxtype.mo \
    1.48  			$fs/usr/share/locale/$lang/LC_MESSAGES
    1.49  	done
    1.50 +	
    1.51 +	cp -ar $_pkg/usr $fs
    1.52  }
    1.53  
    1.54 +post_install()
    1.55 +{
    1.56 +	echo "Adding games group if not already created:"
    1.57 +	addgroup games
    1.58 +}