wok-current annotate gnome-games-glchess/receipt @ rev 13940
linux: do not compress modules twice (thanks Fabio)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 26 23:02:58 2013 +0100 (2013-01-26) |
parents | 5647557ead5c |
children | 380ffe05937a |
rev | line source |
---|---|
pascal@11207 | 1 # SliTaz package receipt. |
pascal@11207 | 2 |
pascal@11207 | 3 PACKAGE="gnome-games-glchess" |
pascal@11207 | 4 VERSION="2.32.1" |
pascal@11207 | 5 CATEGORY="games" |
pascal@11207 | 6 SHORT_DESC="Chess game using GL/Mesa." |
pascal@11207 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@11207 | 8 WEB_SITE="http://www.gnome.org/" |
pascal@11207 | 9 WANTED="gnome-games" |
pascal@11207 | 10 DEPENDS="mesa python gnuchess gnome-games-icons" |
pascal@13041 | 11 TAGS="chess" |
pascal@11207 | 12 |
pascal@11207 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11207 | 14 genpkg_rules() |
pascal@11207 | 15 { |
pascal@11207 | 16 game=glchess |
pascal@11207 | 17 mkdir -p \ |
pascal@11207 | 18 $fs/usr/games $fs/usr/lib \ |
pascal@11207 | 19 $fs/usr/share/applications |
pascal@11207 | 20 |
pascal@11207 | 21 cp -a $install/usr/games/$game $fs/usr/games |
pascal@11207 | 22 cp -a $install/usr/lib/python* $fs/usr/lib |
pascal@11207 | 23 rm -rf $fs/usr/lib/python*/*/gnome_sudoku |
pascal@11207 | 24 cp -a $install/usr/share/$game $fs/usr/share |
pascal@11207 | 25 |
pascal@11207 | 26 cp $src/$game/$game.desktop $fs/usr/share/applications |
pascal@11207 | 27 } |