wok-next view puzzles/receipt @ rev 21468

updated tcpreplay (4.2.6 -> 4.3.2)
author Hans-G?nter Theisgen
date Wed May 13 06:25:58 2020 +0100 (2020-05-13)
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 }