wok-current view puzzles/receipt @ rev 13359
Add opus
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 12 10:35:23 2012 +0200 (2012-09-12) |
parents | c27cb9190c28 |
children | 38bfb19944b1 |
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 TARBALL="$PACKAGE.tar.gz"
9 WEB_SITE="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/"
10 WGET_URL="${WEB_SITE}$TARBALL"
11 DEPENDS="gtk+ cairo libxcb xorg-libXrandr"
12 BUILD_DEPENDS="gtk+-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's/-pedantic//' Makefile mkfiles.pl
19 mkdir -p _pkg/usr/local/games 2> /dev/null
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/pixmaps \
28 $fs/usr/share/applications
30 cp -a $_pkg/usr/local/games $fs/usr
32 for img in $(ls $src/icons/*16d24*)
33 do
34 cp $img $fs/usr/share/pixmaps/$(basename $img -16d24.png).png
35 done
37 cp -a stuff/*.desktop $fs/usr/share/applications
38 }