wok-4.x annotate sudoku-savant/receipt @ rev 883
Up: ruby (1.8.7) -Back to a stable release
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jun 07 11:10:44 2008 +0200 (2008-06-07) |
parents | |
children | 34f139e5f103 |
rev | line source |
---|---|
pankso@707 | 1 # SliTaz package receipt. |
pankso@707 | 2 |
pankso@707 | 3 PACKAGE="sudoku-savant" |
pankso@707 | 4 VERSION="1.2" |
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@707 | 31 } |
pankso@707 | 32 |