wok-next annotate quarry/receipt @ rev 17878

Up slitaz-base-files: fix GNU sed incompatibility with busybox sed (thanks Ceel for bugreport).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 28 16:57:28 2015 +0200 (2015-03-28)
parents 23c3aed67cd9
children 7eb047d2b438
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"
al@17261 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@4570 20 sed -i 's/mozilla/firefox/' src/gui-gtk/gtk-help.c
pascal@4569 21 ./configure \
pascal@4569 22 --prefix=/usr \
pascal@4569 23 --libexecdir=/usr/lib \
pascal@4569 24 --infodir=/usr/share/info \
pascal@4569 25 --mandir=/usr/share/man \
pascal@4569 26 --enable-sgf-utils \
pascal@4569 27 $CONFIGURE_ARGS &&
pascal@4569 28 make &&
pascal@15601 29 make DESTDIR=$DESTDIR install
pascal@4569 30 }
pascal@4569 31
pascal@4569 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4569 33 genpkg_rules()
pascal@4569 34 {
al@17261 35 mkdir -p $fs/usr/share
al@17261 36 cp -a $install/usr/bin $fs/usr
al@17261 37 cp -a $install/usr/share/quarry $fs/usr/share
pascal@4569 38 }