wok diff sudoku-savant/receipt @ rev 12426

pam_mount: updatte bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 21 16:44:29 2012 +0200 (2012-04-21)
parents 4897058add72
children c4f226b02549
line diff
     1.1 --- a/sudoku-savant/receipt	Sun Feb 28 17:49:32 2010 +0100
     1.2 +++ b/sudoku-savant/receipt	Sat Apr 21 16:44:29 2012 +0200
     1.3 @@ -1,13 +1,13 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="sudoku-savant"
     1.7 -VERSION="1.2.1"
     1.8 +VERSION="1.3"
     1.9  CATEGORY="games"
    1.10  SHORT_DESC="Sudoku games/generator using GTK."
    1.11 -DEPENDS="expat gtk+ xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor \
    1.12 -xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr \
    1.13 -xorg-libXrender xorg-libXdamage gcc-lib-base"
    1.14 -BUILD_DEPENDS="gtk+-dev"
    1.15 +DEPENDS="expat gtk+ xorg-libX11 xorg-libXau xorg-libXcomposite \
    1.16 +xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXrandr \
    1.17 +xorg-libXrender xorg-libXinerama xorg-libXdamage gcc-lib-base"
    1.18 +BUILD_DEPENDS="gtk+-dev libpthread-stubs"
    1.19  MAINTAINER="pankso@slitaz.org"
    1.20  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.21  WEB_SITE="http://sourceforge.net/projects/sudoku-savant/"
    1.22 @@ -19,22 +19,21 @@
    1.23  	cd $src
    1.24  	./configure \
    1.25  		--prefix=/usr \
    1.26 +		--bindir=/usr/games \
    1.27  		--mandir=/usr/share/man \
    1.28  		$CONFIGURE_ARGS &&
    1.29  	make &&
    1.30  	make DESTDIR=$PWD/_pkg install
    1.31 -	# No desktop-file-utils
    1.32 -	echo "Continue..."
    1.33 +	# desktop-file-install workaround
    1.34 +	[ -x _pkg/usr/games/sudoku-savant ] && \
    1.35 +		echo "Continue: desktop-file-install dont support busybox install..."
    1.36  }
    1.37  
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.39  genpkg_rules()
    1.40  {
    1.41 -	mkdir -p $fs/usr
    1.42 -	cp -a $_pkg/usr/bin $fs/usr
    1.43 -	# Temporary copy translation (sended to author, will propably 
    1.44 -	# be include in the next release).
    1.45 -	mkdir -p $fs/usr/share/locale/fr/LC_MESSAGES
    1.46 -	cp stuff/*.mo $fs/usr/share/locale/fr/LC_MESSAGES
    1.47 +	mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
    1.48 +	cp -a $_pkg/usr/games $fs/usr
    1.49 +	cp $src/$PACKAGE.png $fs/usr/share/pixmaps
    1.50 +	cp $src/$PACKAGE.desktop $fs/usr/share/applications
    1.51  }
    1.52 -