wok-next view puzzles/receipt @ rev 21197
rebuild compton because of updated libconfig
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 16 16:44:55 2019 +0100 (2019-11-16) |
parents | 5669e8b3be70 |
children | b84715eac67f |
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 libcairo libxcb libxrandr"
35 }