wok annotate gnome-games-glchess/receipt @ rev 16153
Up slitaz-dev-tools (2.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 28 12:44:24 2014 +0000 (2014-03-28) |
parents | a0250385f2a5 |
children | 16df76e1fc6a |
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@15000 | 8 LICENSE="GPL2" |
pascal@11207 | 9 WEB_SITE="http://www.gnome.org/" |
pascal@11207 | 10 WANTED="gnome-games" |
pascal@15000 | 11 TAGS="chess" |
pascal@15000 | 12 |
pascal@11207 | 13 DEPENDS="mesa python gnuchess gnome-games-icons" |
pascal@11207 | 14 |
pascal@11207 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11207 | 16 genpkg_rules() |
pascal@11207 | 17 { |
pascal@11207 | 18 game=glchess |
pascal@11207 | 19 mkdir -p \ |
pascal@11207 | 20 $fs/usr/games $fs/usr/lib \ |
pascal@11207 | 21 $fs/usr/share/applications |
pascal@11207 | 22 |
pascal@11207 | 23 cp -a $install/usr/games/$game $fs/usr/games |
pascal@11207 | 24 cp -a $install/usr/lib/python* $fs/usr/lib |
pascal@11207 | 25 rm -rf $fs/usr/lib/python*/*/gnome_sudoku |
pascal@11207 | 26 cp -a $install/usr/share/$game $fs/usr/share |
pascal@11207 | 27 |
pascal@11207 | 28 cp $src/$game/$game.desktop $fs/usr/share/applications |
pascal@11207 | 29 } |