wok view quarry/receipt @ rev 25370

updated tmux (3.0a -> 3.3a)
author Hans-G?nter Theisgen
date Fri Jul 29 14:23:40 2022 +0100 (2022-07-29)
parents 7c0170dd3ecc
children
line source
1 # SliTaz package receipt.
3 PACKAGE="quarry"
4 VERSION="0.3.0.1"
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="https://github.com/ejona86/quarry/archive/refs/tags/$VERSION.tar.gz"
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 touch help/de/quarry.html
29 ./configure \
30 --prefix=/usr \
31 --libexecdir=/usr/lib \
32 --infodir=/usr/share/info \
33 --mandir=/usr/share/man \
34 --enable-sgf-utils \
35 $CONFIGURE_ARGS &&
36 make &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/share
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/share/quarry $fs/usr/share
46 }