wok-current annotate quarry/receipt @ rev 22017

xcircuit: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 19 18:20:40 2019 +0200 (2019-10-19)
parents 20661c276bcf
children 7c0170dd3ecc
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@20947 10 WEB_SITE="https://web.archive.org/web/20170506152503/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 }