wok annotate sudoku-savant/receipt @ rev 15847

Up: zopeinterface to 4.0.5.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Jan 27 07:24:42 2014 +0000 (2014-01-27)
parents 051931e905b0
children 86790a278e70
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."
pascal@15581 7 MAINTAINER="pankso@slitaz.org"
pascal@15581 8 LICENSE="GPL3"
pascal@15581 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@15581 10 WEB_SITE="http://sourceforge.net/projects/sudoku-savant/"
pascal@15581 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15581 12
pankso@5621 13 DEPENDS="expat gtk+ xorg-libX11 xorg-libXau xorg-libXcomposite \
pankso@5621 14 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXrandr \
pankso@5621 15 xorg-libXrender xorg-libXinerama xorg-libXdamage gcc-lib-base"
pascal@15615 16 BUILD_DEPENDS="gtk+-dev libpthread-stubs desktop-file-utils-extra \
pascal@15615 17 coreutils-operations"
pankso@707 18
pankso@707 19 # Rules to configure and make the package.
pankso@707 20 compile_rules()
pankso@707 21 {
pankso@707 22 cd $src
pankso@707 23 ./configure \
pankso@707 24 --prefix=/usr \
pankso@5621 25 --bindir=/usr/games \
pascal@2440 26 --mandir=/usr/share/man \
pascal@2440 27 $CONFIGURE_ARGS &&
pascal@2440 28 make &&
pascal@15581 29 make DESTDIR=$DESTDIR install
pankso@5621 30 # desktop-file-install workaround
pascal@15603 31 [ -x $DESTDIR/usr/games/sudoku-savant ] && \
pankso@5621 32 echo "Continue: desktop-file-install dont support busybox install..."
pankso@707 33 }
pankso@707 34
pankso@707 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@707 36 genpkg_rules()
pankso@707 37 {
pankso@5621 38 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
pascal@15581 39 cp -a $install/usr/games $fs/usr
pankso@5621 40 cp $src/$PACKAGE.png $fs/usr/share/pixmaps
pankso@5621 41 cp $src/$PACKAGE.desktop $fs/usr/share/applications
pankso@707 42 }