wok-next annotate gnome-games-glchess/receipt @ rev 19687

unshield: _BSD_SOURCE is deprecated
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 10 09:48:32 2017 +0200 (2017-04-10)
parents 380ffe05937a
children
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
al@18077 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
al@18077 27
pascal@11207 28 cp $src/$game/$game.desktop $fs/usr/share/applications
pascal@11207 29 }