wok view gobby/receipt @ rev 24500

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 19 19:01:32 2022 +0000 (2022-02-19)
parents 21e68b90243a
children 20ad21d5532c
line source
1 # SliTaz package receipt.
3 PACKAGE="gobby"
4 VERSION="0.4.12"
5 CATEGORY="network"
6 SHORT_DESC="Network collaborative editor."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://gobby.0x539.de/trac/"
11 WGET_URL="http://releases.0x539.de/gobby/$TARBALL"
13 DEPENDS="gnutls libgpg-error libgcrypt gtk+ cairomm glibmm gtkmm gtksourceview \
14 libsigc++ libxml++ net6 obby xorg-libXdamage gcc-lib-base libtasn1"
15 BUILD_DEPENDS="intltool libxml++-dev cairomm-dev glibmm-dev gtkmm-dev net6-dev \
16 obby-dev gtksourceview-dev gnutls-dev libsigc++-dev gtk+-dev libgnutls"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/gobby/gobby/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # for glibmm >= 2.31
29 sed -i 's|.*gselector.hpp|#include <glibmm/main.h>\n&|' src/gselector.cpp
30 ./configure $CONFIGURE_ARGS && make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/pixmaps
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/icons/hicolor/48x48/apps/* \
39 $fs/usr/share/pixmaps
40 }