wok view loudmouth/receipt @ rev 25624
Add opendkim
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 08 16:45:57 2023 +0000 (12 months ago) |
parents | 44c7e0b01b48 |
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 '/tag\//!d;s|.*tag/v*||;s|".*||;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 }