wok annotate fltk-sudoku/receipt @ rev 24567

sokojs: add shrink.sh
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 26 15:02:05 2022 +0000 (2022-02-26)
parents ec27bdc69711
children
rev   line source
pankso@16357 1 # SliTaz package receipt.
pankso@16357 2
pankso@16357 3 PACKAGE="fltk-sudoku"
Hans-G?nter@24557 4 VERSION="1.3.8"
pankso@16357 5 CATEGORY="games"
pankso@16371 6 SHORT_DESC="FLTK Sudoku game."
pankso@16357 7 MAINTAINER="pankso@slitaz.org"
pankso@16357 8 LICENSE="LGPL2"
pascal@20669 9 WEB_SITE="https://www.fltk.org/"
pankso@16357 10
Hans-G?nter@22765 11 DEPENDS="fltk"
pankso@16359 12 WANTED="fltk"
Hans-G?nter@22765 13
Hans-G?nter@20926 14 HOST_ARCH="i486 arm"
pankso@16359 15
pankso@16357 16 # Rules to configure and make the package.
pankso@16357 17 compile_rules()
pankso@16357 18 {
Hans-G?nter@24557 19 cd $src/test &&
pankso@16357 20 [ -x ./sudoku ] || make sudoku
pankso@16357 21 }
pankso@16357 22
pankso@16357 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16357 24 genpkg_rules()
pankso@16357 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@24557 29 cp -a $src/test/sudoku $fs/usr/games/$PACKAGE
Hans-G?nter@24557 30 cp -a $src/test/desktop/sudoku-32.png \
Hans-G?nter@22765 31 $fs/usr/share/pixmaps/$PACKAGE.png
pankso@16357 32 }