wok annotate quarry/receipt @ rev 20793
linld: fix strcatb
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 14 18:37:56 2019 +0100 (2019-02-14) |
parents | 533c0cab6960 |
children | 63cdeb5a1e77 |
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@20682 | 10 WEB_SITE="https://gitorious.org/quarry/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 } |