wok-6.x view puzzles/receipt @ rev 19119
vlc (hack build for time being)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun May 08 09:53:06 2016 +0100 (2016-05-08) |
parents | 38bfb19944b1 |
children | d37d15244372 |
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 TARBALL="$PACKAGE.tar.gz"
10 WEB_SITE="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/"
11 WGET_URL="${WEB_SITE}$TARBALL"
13 DEPENDS="gtk+ cairo libxcb xorg-libXrandr"
14 BUILD_DEPENDS="gtk+-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 touch version2.def
21 sed -i 's/-pedantic//' Makefile mkfiles.pl
22 mkdir -p $DESTDIR/usr/local/games 2> /dev/null
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/pixmaps \
31 $fs/usr/share/applications
33 cp -a $install/usr/local/games $fs/usr
35 for img in $(ls $src/icons/*16d24*)
36 do
37 cp $img $fs/usr/share/pixmaps/$(basename $img -16d24.png).png
38 done
40 cp -a $stuff/*.desktop $fs/usr/share/applications
41 }