wok-current view fltk-blocks/receipt @ rev 21529

Up ncurses-examples (6.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 04 17:37:51 2019 +0200 (2019-05-04)
parents b36d3d58ef5c
children ec27bdc69711
line source
1 # SliTaz package receipt.
3 PACKAGE="fltk-blocks"
4 VERSION="1.3.4.2"
5 CATEGORY="games"
6 SHORT_DESC="FLTK Blocks game."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="https://www.fltk.org/"
11 WANTED="fltk"
12 DEPENDS="fltk"
13 HOST_ARCH="i486 arm"
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 }