wok annotate quarry/receipt @ rev 25112
updated patchelf (0.10 -> 0.14.5)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 25 15:14:46 2022 +0100 (2022-06-25) |
parents | 7c0170dd3ecc |
children |
rev | line source |
---|---|
pascal@4569 | 1 # SliTaz package receipt. |
pascal@4569 | 2 |
pascal@4569 | 3 PACKAGE="quarry" |
pascal@25054 | 4 VERSION="0.3.0.1" |
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@25054 | 11 WGET_URL="https://github.com/ejona86/quarry/archive/refs/tags/$VERSION.tar.gz" |
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@24535 | 17 # What is the latest version available today? |
pascal@24535 | 18 current_version() |
pascal@24535 | 19 { |
pascal@24535 | 20 wget -O - https://github.com/ejona86/quarry/tags 2>/dev/null | \ |
pascal@24535 | 21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24535 | 22 } |
pascal@24535 | 23 |
pascal@4569 | 24 # Rules to configure and make the package. |
pascal@4569 | 25 compile_rules() |
pascal@4569 | 26 { |
pascal@4570 | 27 sed -i 's/mozilla/firefox/' src/gui-gtk/gtk-help.c |
pascal@25054 | 28 touch help/de/quarry.html |
pascal@4569 | 29 ./configure \ |
pascal@4569 | 30 --prefix=/usr \ |
pascal@4569 | 31 --libexecdir=/usr/lib \ |
pascal@4569 | 32 --infodir=/usr/share/info \ |
pascal@4569 | 33 --mandir=/usr/share/man \ |
pascal@4569 | 34 --enable-sgf-utils \ |
pascal@4569 | 35 $CONFIGURE_ARGS && |
pascal@4569 | 36 make && |
pascal@15601 | 37 make DESTDIR=$DESTDIR install |
pascal@4569 | 38 } |
pascal@4569 | 39 |
pascal@4569 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4569 | 41 genpkg_rules() |
pascal@4569 | 42 { |
al@17261 | 43 mkdir -p $fs/usr/share |
al@17261 | 44 cp -a $install/usr/bin $fs/usr |
al@17261 | 45 cp -a $install/usr/share/quarry $fs/usr/share |
pascal@4569 | 46 } |