wok-6.x view fltk-blocks/receipt @ rev 17393
opus: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 27 16:05:28 2014 +0100 (2014-11-27) |
parents | |
children | 9e2e108fff96 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fltk-blocks"
4 VERSION="1.3.2"
5 CATEGORY="games"
6 SHORT_DESC="FLTK Blocks game."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="http://www.fltk.org/"
10 HOST_ARCH="i486 arm"
12 WANTED="fltk"
13 DEPENDS="fltk"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd ${src}/test &&
19 [ -x ./blocks ] || make blocks
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/games $fs/usr/share/pixmaps
26 cp -a ${src}/test/blocks $fs/usr/games/$PACKAGE
27 cp -a ${src}/test/desktop/blocks-32.png \
28 $fs/usr/share/pixmaps/$PACKAGE.png
29 }