wok-6.x view sudoku-savant/receipt @ rev 2538
sudoku-savant: fix compile_rules
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 22 12:18:54 2009 +0100 (2009-03-22) |
parents | 0b02072d7f48 |
children | e97c81ccdba0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="sudoku-savant"
4 VERSION="1.2.1"
5 CATEGORY="games"
6 SHORT_DESC="Sudoku games/generator using GTK."
7 DEPENDS="expat gtk+ xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor \
8 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr \
9 xorg-libXrender xorg-libXinerama"
10 BUILD_DEPENDS="gtk+-dev"
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 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 # No desktop-file-utils
27 echo "Continue..."
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $_pkg/usr/bin $fs/usr
35 # Temporary copy translation (sended to author, will propably
36 # be include in the next release).
37 mkdir -p $fs/usr/share/locale/fr/LC_MESSAGES
38 cp stuff/*.mo $fs/usr/share/locale/fr/LC_MESSAGES
39 }