wok-6.x diff puzzles/receipt @ rev 6070

Add puzzles from wok-undigest
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Aug 24 12:02:02 2010 +0200 (2010-08-24)
parents
children dc0644f601c0
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/puzzles/receipt	Tue Aug 24 12:02:02 2010 +0200
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="puzzles"
     1.7 +VERSION="r8972"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="Misc puzzles games."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/"
    1.13 +WGET_URL="${WEB_SITE}$TARBALL"
    1.14 +DEPENDS="gtk+ cairo-xcb xorg-libXrandr"
    1.15 +BUILD_DEPENDS="gtk+-dev"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	mkdir -p _pkg/usr/local/games 2> /dev/null
    1.22 +	make &&
    1.23 +	make DESTDIR=$PWD/_pkg install
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	mkdir -p $fs/usr/share/pixmaps \
    1.30 +		$fs/usr/share/applications
    1.31 +		
    1.32 +	cp -a $_pkg/usr/local/games $fs/usr
    1.33 +	
    1.34 +	for img in $(ls $src/icons/*16d24*)
    1.35 +	do
    1.36 +		cp $img $fs/usr/share/pixmaps/$(basename $img -16d24.png).png
    1.37 +	done
    1.38 +	
    1.39 +	cp -a stuff/*.desktop $fs/usr/share/applications
    1.40 +}
    1.41 +