wok annotate loudmouth/receipt @ rev 25466

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