wok annotate fltk-sudoku/receipt @ rev 23592

created recipe for python-pbr
author Hans-G?nter Theisgen
date Wed Apr 08 11:05:31 2020 +0100 (2020-04-08)
parents 20eb236f6de4
children 46a25aedecec
rev   line source
pankso@16357 1 # SliTaz package receipt.
pankso@16357 2
pankso@16357 3 PACKAGE="fltk-sudoku"
Hans-G?nter@22765 4 VERSION="1.3.5"
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 {
pankso@16357 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@22765 29 cp -a ${src}/test/sudoku $fs/usr/games/$PACKAGE
Hans-G?nter@20928 30 cp -a ${src}/test/desktop/sudoku-32.png \
Hans-G?nter@22765 31 $fs/usr/share/pixmaps/$PACKAGE.png
pankso@16357 32 }