wok-next annotate sudoku-savant/receipt @ rev 1818
Up: dbus (1.2.4)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Dec 05 17:33:52 2008 +0100 (2008-12-05) |
parents | 4c46b6f38765 |
children | 8c4a70e18847 |
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." |
pankso@707 | 7 BUILD_DEPENDS="gtk+-dev" |
pankso@707 | 8 MAINTAINER="pankso@slitaz.org" |
pankso@707 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@707 | 10 WEB_SITE="http://sourceforge.net/projects/sudoku-savant/" |
pankso@707 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@707 | 12 |
pankso@707 | 13 # Rules to configure and make the package. |
pankso@707 | 14 compile_rules() |
pankso@707 | 15 { |
pankso@707 | 16 cd $src |
pankso@707 | 17 ./configure \ |
pankso@707 | 18 --prefix=/usr \ |
pankso@707 | 19 --mandir=/usr/share/man |
pankso@707 | 20 make |
pankso@707 | 21 make DESTDIR=$PWD/_pkg install |
pankso@707 | 22 # No desktop-file-utils |
pankso@707 | 23 echo "Continue..." |
pankso@707 | 24 } |
pankso@707 | 25 |
pankso@707 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@707 | 27 genpkg_rules() |
pankso@707 | 28 { |
pankso@707 | 29 mkdir -p $fs/usr |
pankso@707 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@1016 | 31 # Temporary copy translation (sended to author, will propably |
pankso@1016 | 32 # be include in the next release). |
pankso@1016 | 33 mkdir -p $fs/usr/share/locale/fr/LC_MESSAGES |
pankso@1016 | 34 cp stuff/*.mo $fs/usr/share/locale/fr/LC_MESSAGES |
pankso@707 | 35 } |
pankso@707 | 36 |