wok annotate fltk-blocks/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (6 weeks ago) |
parents | ec27bdc69711 |
children |
rev | line source |
---|---|
pankso@16372 | 1 # SliTaz package receipt. |
pankso@16372 | 2 |
pankso@16372 | 3 PACKAGE="fltk-blocks" |
Hans-G?nter@24557 | 4 VERSION="1.3.8" |
pankso@16372 | 5 CATEGORY="games" |
pankso@16372 | 6 SHORT_DESC="FLTK Blocks game." |
pankso@16372 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16372 | 8 LICENSE="LGPL2" |
pascal@20669 | 9 WEB_SITE="https://www.fltk.org/" |
pankso@16372 | 10 |
Hans-G?nter@22765 | 11 DEPENDS="fltk" |
pankso@16372 | 12 WANTED="fltk" |
Hans-G?nter@22765 | 13 |
Hans-G?nter@20926 | 14 HOST_ARCH="i486 arm" |
pankso@16372 | 15 |
pankso@16372 | 16 # Rules to configure and make the package. |
pankso@16372 | 17 compile_rules() |
pankso@16372 | 18 { |
pankso@16372 | 19 cd ${src}/test && |
pankso@16372 | 20 [ -x ./blocks ] || make blocks |
pankso@16372 | 21 } |
pankso@16372 | 22 |
pankso@16372 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16372 | 24 genpkg_rules() |
pankso@16372 | 25 { |
Hans-G?nter@22765 | 26 mkdir -p $fs/usr/games |
Hans-G?nter@22765 | 27 mkdir -p $fs/usr/share/pixmaps |
Hans-G?nter@22765 | 28 |
Hans-G?nter@22765 | 29 cp -a ${src}/test/blocks $fs/usr/games/$PACKAGE |
Hans-G?nter@20928 | 30 cp -a ${src}/test/desktop/blocks-32.png \ |
Hans-G?nter@22765 | 31 $fs/usr/share/pixmaps/$PACKAGE.png |
pankso@16372 | 32 } |