# SliTaz package receipt. PACKAGE="loudmouth" VERSION="1.5.4" CATEGORY="libs" TAGS="jabber" SHORT_DESC="A lightweight Jabber client library." MAINTAINER="maintainer@slitaz.org" LICENSE="LGPL2+" WEB_SITE="https://github.com/mcabber/loudmouth" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE/archive/refs/tags/$VERSION.tar.gz" DEPENDS="glib gnutls" BUILD_DEPENDS="autoconf glib-dev gnutls-dev libidn-dev libasyncns-dev libtool pkg-config" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { ./autogen.sh -n && ./configure \ --with-asyncns=yes \ --prefix=/usr \ --infodir=/usr/share/info \ --localstatedir=/var && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_files *.so* }