wok-current view loudmouth/receipt @ rev 25477
icedtea6-jdk: find output to variable
author | Hans-G?nter Theisgen |
---|---|
date | Thu Oct 13 17:53:47 2022 +0100 (2022-10-13) |
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 }