wok-4.x view sudoku-savant/receipt @ rev 5870
Up: printoxx 2.7
author | Antoine Bodin <gokhlayeh@mailoo.org> |
---|---|
date | Tue Jul 20 18:59:28 2010 +0200 (2010-07-20) |
parents | 4897058add72 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="sudoku-savant"
4 VERSION="1.3"
5 CATEGORY="games"
6 SHORT_DESC="Sudoku games/generator using GTK."
7 DEPENDS="expat gtk+ xorg-libX11 xorg-libXau xorg-libXcomposite \
8 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXrandr \
9 xorg-libXrender xorg-libXinerama xorg-libXdamage gcc-lib-base"
10 BUILD_DEPENDS="gtk+-dev libpthread-stubs"
11 MAINTAINER="pankso@slitaz.org"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://sourceforge.net/projects/sudoku-savant/"
14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --bindir=/usr/games \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 # desktop-file-install workaround
28 [ -x _pkg/usr/games/sudoku-savant ] && \
29 echo "Continue: desktop-file-install dont support busybox install..."
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
36 cp -a $_pkg/usr/games $fs/usr
37 cp $src/$PACKAGE.png $fs/usr/share/pixmaps
38 cp $src/$PACKAGE.desktop $fs/usr/share/applications
39 }