wok-next view puzzles/receipt @ rev 21718
Up dropbear (2020.80)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 29 08:19:44 2020 +0000 (2020-07-29) |
parents | 83be279ae686 |
children |
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 ./configure
20 sed -i 's/-pedantic//' Makefile mkfiles.pl
21 sed -i 's/sizeof(lld)/sizeof(*lld)/' lightup.c
22 mkdir -p $install/usr/local/games/
24 make &&
25 make DESTDIR=$install install
26 }
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/pixmaps
31 mkdir -p $fs/usr/share/applications
33 cp -a $install/usr/bin $fs/usr
34 for img in $(ls $src/icons/*16d24*)
35 do
36 cp $img $fs/usr/share/pixmaps/$(basename $img -16d24.png).png
37 done
38 cp -a $stuff/*.desktop $fs/usr/share/applications
40 DEPENDS="gtk2 libcairo libxcb libxrandr"
41 }