wok-next annotate sudoku-savant/receipt @ rev 14579
Add Clonezilla
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat May 25 20:30:28 2013 +0200 (2013-05-25) |
parents | 4897058add72 |
children | c4f226b02549 |
rev | line source |
---|---|
pankso@707 | 1 # SliTaz package receipt. |
pankso@707 | 2 |
pankso@707 | 3 PACKAGE="sudoku-savant" |
pankso@5621 | 4 VERSION="1.3" |
pankso@707 | 5 CATEGORY="games" |
pankso@707 | 6 SHORT_DESC="Sudoku games/generator using GTK." |
pankso@5621 | 7 DEPENDS="expat gtk+ xorg-libX11 xorg-libXau xorg-libXcomposite \ |
pankso@5621 | 8 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXrandr \ |
pankso@5621 | 9 xorg-libXrender xorg-libXinerama xorg-libXdamage gcc-lib-base" |
pankso@5621 | 10 BUILD_DEPENDS="gtk+-dev libpthread-stubs" |
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 \ |
pankso@5621 | 22 --bindir=/usr/games \ |
pascal@2440 | 23 --mandir=/usr/share/man \ |
pascal@2440 | 24 $CONFIGURE_ARGS && |
pascal@2440 | 25 make && |
pankso@707 | 26 make DESTDIR=$PWD/_pkg install |
pankso@5621 | 27 # desktop-file-install workaround |
pankso@5621 | 28 [ -x _pkg/usr/games/sudoku-savant ] && \ |
pankso@5621 | 29 echo "Continue: desktop-file-install dont support busybox install..." |
pankso@707 | 30 } |
pankso@707 | 31 |
pankso@707 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@707 | 33 genpkg_rules() |
pankso@707 | 34 { |
pankso@5621 | 35 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications |
pankso@5621 | 36 cp -a $_pkg/usr/games $fs/usr |
pankso@5621 | 37 cp $src/$PACKAGE.png $fs/usr/share/pixmaps |
pankso@5621 | 38 cp $src/$PACKAGE.desktop $fs/usr/share/applications |
pankso@707 | 39 } |