wok view loudmouth/receipt @ rev 25442

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 02 16:30:36 2022 +0000 (2022-09-02)
parents 622f3fed2557
children 7364ffdaaa60
line source
1 # SliTaz package receipt.
3 PACKAGE="loudmouth"
4 VERSION="1.5.4"
5 CATEGORY="libs"
6 TAGS="jabber"
7 SHORT_DESC="A lightweight Jabber client library."
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="LGPL2+"
10 WEB_SITE="https://github.com/mcabber/loudmouth"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/archive/refs/tags/$VERSION.tar.gz"
15 DEPENDS="glib gnutls"
16 BUILD_DEPENDS="autoconf glib-dev gnutls-dev libidn-dev libasyncns-dev libtool
17 pkg-config"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./autogen.sh -n &&
30 ./configure \
31 --with-asyncns=yes \
32 --prefix=/usr \
33 --infodir=/usr/share/info \
34 --localstatedir=/var &&
35 make &&
36 make install DESTDIR=$DESTDIR
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cook_copy_files *.so*
43 }