wok-stable diff gnome-games/receipt @ rev 12465

Up e2fsprogs (1.44.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 04 18:42:23 2019 +0100 (2019-03-04)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gnome-games/receipt	Mon Mar 04 18:42:23 2019 +0100
     1.3 @@ -0,0 +1,49 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gnome-games"
     1.7 +VERSION="2.32.1"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="A set of of simple games from Gnome."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 +WEB_SITE="http://www.gnome.org/"
    1.13 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.14 +
    1.15 +# Games: aisleriot need guile. glchess use pygtk/mesa and is splitted
    1.16 +DEPENDS="GConf librsvg libcroco mesa clutter clutter-gtk libcanberra \
    1.17 +libvorbis libogg util-linux-ng-uuid gnuchess gnome-games-icons seed"
    1.18 +BUILD_DEPENDS="GConf-dev librsvg-dev libcroco-dev mesa-dev clutter-dev \
    1.19 +clutter-gtk-dev python-dev pygtk-dev libcanberra-dev gnome-doc-utils-dev \
    1.20 +libvorbis-dev libogg-dev util-linux-ng-uuid-dev seed-dev"
    1.21 +
    1.22 +# Rules to configure and make the package.
    1.23 +compile_rules()
    1.24 +{
    1.25 +	cd $src
    1.26 +	./configure \
    1.27 +		--bindir=/usr/games \
    1.28 +		--sysconfdir=/etc \
    1.29 +		--localstatedir=/var \
    1.30 +		--enable-omitgames=aisleriot \
    1.31 +		--disable-scrollkeeper \
    1.32 +		$CONFIGURE_ARGS &&
    1.33 +	make && make install &&
    1.34 +	rm $DESTDIR/usr/share/*/glchess.desktop &&
    1.35 +	rm $DESTDIR/usr/share/*/gnome-sudoku.desktop
    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/lib $fs/usr/share
    1.42 +	
    1.43 +	cp -a $install/usr/games $fs/usr
    1.44 +	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    1.45 +
    1.46 +	# Remove splitted games files
    1.47 +	rm -f $fs/usr/games/glchess
    1.48 +	rm -f $fs/usr/games/gnome-sudoku
    1.49 +	
    1.50 +	cp -a $install/var $fs
    1.51 +	chmod a+w $fs/var/games/*
    1.52 +}