wok-6.x view quarry/receipt @ rev 24982

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 08 13:06:36 2022 +0000 (2022-05-08)
parents 63cdeb5a1e77
children 7689fec2e794
line source
1 # SliTaz package receipt.
3 PACKAGE="quarry"
4 VERSION="0.2.0"
5 CATEGORY="games"
6 SHORT_DESC="Multi-purpose GUI for Go, Amazons and Reversi."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://web.archive.org/web/20170506152503/http://home.gna.org/quarry/"
11 WGET_URL="http://download.gna.org/$PACKAGE/$TARBALL"
12 SUGGESTED="gnugo"
14 DEPENDS="gtk+ librsvg libgsf xcb-util"
15 BUILD_DEPENDS="gtk+-dev librsvg-dev libgsf"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/ejona86/quarry/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's/mozilla/firefox/' src/gui-gtk/gtk-help.c
28 ./configure \
29 --prefix=/usr \
30 --libexecdir=/usr/lib \
31 --infodir=/usr/share/info \
32 --mandir=/usr/share/man \
33 --enable-sgf-utils \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share/quarry $fs/usr/share
45 }