wok annotate sudoku-savant/receipt @ rev 3057

Add linux-irda
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 13 16:56:42 2009 +0200 (2009-05-13)
parents 0c5792315abd
children 4897058add72
rev   line source
pankso@707 1 # SliTaz package receipt.
pankso@707 2
pankso@707 3 PACKAGE="sudoku-savant"
pankso@1016 4 VERSION="1.2.1"
pankso@707 5 CATEGORY="games"
pankso@707 6 SHORT_DESC="Sudoku games/generator using GTK."
pascal@2440 7 DEPENDS="expat gtk+ xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor \
pascal@2440 8 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr \
pascal@2608 9 xorg-libXrender xorg-libXdamage"
pankso@707 10 BUILD_DEPENDS="gtk+-dev"
pankso@707 11 MAINTAINER="pankso@slitaz.org"
pankso@707 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@707 13 WEB_SITE="http://sourceforge.net/projects/sudoku-savant/"
pankso@707 14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@707 15
pankso@707 16 # Rules to configure and make the package.
pankso@707 17 compile_rules()
pankso@707 18 {
pankso@707 19 cd $src
pankso@707 20 ./configure \
pankso@707 21 --prefix=/usr \
pascal@2440 22 --mandir=/usr/share/man \
pascal@2440 23 $CONFIGURE_ARGS &&
pascal@2440 24 make &&
pankso@707 25 make DESTDIR=$PWD/_pkg install
pankso@707 26 # No desktop-file-utils
pankso@2538 27 echo "Continue..."
pankso@707 28 }
pankso@707 29
pankso@707 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@707 31 genpkg_rules()
pankso@707 32 {
pankso@707 33 mkdir -p $fs/usr
pankso@707 34 cp -a $_pkg/usr/bin $fs/usr
pankso@1016 35 # Temporary copy translation (sended to author, will propably
pankso@1016 36 # be include in the next release).
pankso@1016 37 mkdir -p $fs/usr/share/locale/fr/LC_MESSAGES
pankso@1016 38 cp stuff/*.mo $fs/usr/share/locale/fr/LC_MESSAGES
pankso@707 39 }
pankso@707 40