wok-next view puzzles/receipt @ rev 21420

updated puzzles ( -> 20200413)
author Hans-G?nter Theisgen
date Mon Apr 27 17:23:45 2020 +0100 (2020-04-27)
parents 82b613cfd1e0
children 83be279ae686
line source
1 # SliTaz package receipt.
3 PACKAGE="puzzles"
4 VERSION="20200413"
5 CATEGORY="games"
6 SHORT_DESC="Misc puzzles games"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.chiark.greenend.org.uk/~sgtatham/puzzles/"
11 TARBALL="$PACKAGE.tar.gz"
12 WGET_URL="${WEB_SITE}$TARBALL"
14 BUILD_DEPENDS="gtk2-dev"
16 compile_rules()
17 {
18 touch version2.def
19 sed -i 's/-pedantic//' Makefile mkfiles.pl
20 sed -i 's/sizeof(lld)/sizeof(*lld)/' lightup.c
21 mkdir -p $install/usr/local/games/
23 make &&
24 make DESTDIR=$install install
25 }
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/pixmaps
30 mkdir -p $fs/usr/share/applications
32 cp -a $install/usr/local/games $fs/usr
33 for img in $(ls $src/icons/*16d24*)
34 do
35 cp $img $fs/usr/share/pixmaps/$(basename $img -16d24.png).png
36 done
37 cp -a $stuff/*.desktop $fs/usr/share/applications
39 DEPENDS="gtk2 libcairo libxcb libxrandr"
40 }