wok-current view fltk-blocks/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | ec27bdc69711 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="fltk-blocks"
4 VERSION="1.3.8"
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 DEPENDS="fltk"
12 WANTED="fltk"
14 HOST_ARCH="i486 arm"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd ${src}/test &&
20 [ -x ./blocks ] || make blocks
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/games
27 mkdir -p $fs/usr/share/pixmaps
29 cp -a ${src}/test/blocks $fs/usr/games/$PACKAGE
30 cp -a ${src}/test/desktop/blocks-32.png \
31 $fs/usr/share/pixmaps/$PACKAGE.png
32 }