wok-current view sudoku-savant/receipt @ rev 6524

Added rsnapshot.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 03 03:03:58 2010 +0000 (2010-10-03)
parents 4897058add72
children c4f226b02549
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 }