wok-next view puzzles/receipt @ rev 21041
Follow HTTP redirections for homepages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 09 13:21:03 2018 +0200 (2018-11-09) |
parents | d5aab818505e |
children | 5669e8b3be70 |
line source
1 # SliTaz package receipt.
3 PACKAGE="puzzles"
4 VERSION="r8972"
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 touch version2.def
18 sed -i 's/-pedantic//' Makefile mkfiles.pl
19 sed -i 's/sizeof(lld)/sizeof(*lld)/' lightup.c
20 mkdir -p $install/usr/local/games/
22 make &&
23 make DESTDIR=$install install
24 }
26 genpkg_rules() {
27 mkdir -p $fs/usr/share/pixmaps \
28 $fs/usr/share/applications
29 cp -a $install/usr/local/games $fs/usr
30 for img in $(ls $src/icons/*16d24*); do
31 cp $img $fs/usr/share/pixmaps/$(basename $img -16d24.png).png
32 done
33 cp -a $stuff/*.desktop $fs/usr/share/applications
34 DEPENDS="gtk2 cairo xorg-libxcb xorg-libXrandr"
35 }