wok annotate fltk-checkers/receipt @ rev 16481
xpaint: clean up packaged files
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 23 03:43:46 2014 +0200 (2014-04-23) |
parents | |
children | 9e2e108fff96 |
rev | line source |
---|---|
pankso@16372 | 1 # SliTaz package receipt. |
pankso@16372 | 2 |
pankso@16372 | 3 PACKAGE="fltk-checkers" |
pankso@16372 | 4 VERSION="1.3.2" |
pankso@16372 | 5 CATEGORY="games" |
pankso@16372 | 6 SHORT_DESC="FLTK Checkers game." |
pankso@16372 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16372 | 8 LICENSE="LGPL2" |
pankso@16372 | 9 WEB_SITE="http://www.fltk.org/" |
pankso@16372 | 10 HOST_ARCH="i486 arm" |
pankso@16372 | 11 |
pankso@16372 | 12 WANTED="fltk" |
pankso@16372 | 13 DEPENDS="fltk" |
pankso@16372 | 14 |
pankso@16372 | 15 # Rules to configure and make the package. |
pankso@16372 | 16 compile_rules() |
pankso@16372 | 17 { |
pankso@16372 | 18 cd ${src}/test && |
pankso@16372 | 19 [ -x ./checkers ] || make checkers |
pankso@16372 | 20 } |
pankso@16372 | 21 |
pankso@16372 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16372 | 23 genpkg_rules() |
pankso@16372 | 24 { |
pankso@16372 | 25 mkdir -p $fs/usr/games $fs/usr/share/pixmaps |
pankso@16372 | 26 cp -a ${src}/test/checkers $fs/usr/games/$PACKAGE |
pankso@16372 | 27 cp -a ${src}/test/desktop/checkers-32.png \ |
pankso@16372 | 28 $fs/usr/share/pixmaps/$PACKAGE.png |
pankso@16372 | 29 } |