wok annotate quarry/receipt @ rev 17091

dooble: clean $fs
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Thu Aug 28 01:42:21 2014 +0200 (2014-08-28)
parents de49ec9d5be3
children 533c0cab6960
rev   line source
pascal@4569 1 # SliTaz package receipt.
pascal@4569 2
pascal@4569 3 PACKAGE="quarry"
pascal@4569 4 VERSION="0.2.0"
pascal@4569 5 CATEGORY="games"
pascal@4569 6 SHORT_DESC="multi-purpose GUI for Go, Amazons and Reversi."
pascal@4569 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15601 8 LICENSE="GPL2"
pascal@4569 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@4569 10 WEB_SITE="http://home.gna.org/quarry/"
pascal@4569 11 WGET_URL="http://download.gna.org/$PACKAGE/$TARBALL"
pascal@15601 12 SUGGESTED="gnugo"
pascal@15601 13
pascal@4569 14 DEPENDS="gtk+ librsvg libgsf xcb-util"
pascal@4569 15 BUILD_DEPENDS="gtk+-dev librsvg-dev libgsf"
pascal@4569 16
pascal@4569 17 # Rules to configure and make the package.
pascal@4569 18 compile_rules()
pascal@4569 19 {
pascal@4569 20 cd $src
pascal@4570 21 sed -i 's/mozilla/firefox/' src/gui-gtk/gtk-help.c
pascal@4569 22 ./configure \
pascal@4569 23 --prefix=/usr \
pascal@4569 24 --libexecdir=/usr/lib \
pascal@4569 25 --infodir=/usr/share/info \
pascal@4569 26 --mandir=/usr/share/man \
pascal@4569 27 --enable-sgf-utils \
pascal@4569 28 $CONFIGURE_ARGS &&
pascal@4569 29 make &&
pascal@15601 30 make DESTDIR=$DESTDIR install
pascal@4569 31 }
pascal@4569 32
pascal@4569 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4569 34 genpkg_rules()
pascal@4569 35 {
pascal@15601 36 cp -a $install/usr $fs
pascal@4569 37 }