wok-6.x view loudmouth/receipt @ rev 25432
motion: adapted configuration parameters to version 4.4.0
author | Hans-G?nter Theisgen |
---|---|
date | Sun Aug 21 17:07:48 2022 +0100 (24 months ago) |
parents | 622f3fed2557 |
children |
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 }