# HG changeset patch # User Hans-G?nter Theisgen # Date 1648795083 -3600 # Node ID 8acd10ad5f1c4eb9dde8d87c1608722fece7a5b3 # Parent 2c7fdf85178fa2f5babbd2d02be19fa7be0c23e8 created recipes for loudmouth and loudmouth-dev diff -r 2c7fdf85178f -r 8acd10ad5f1c loudmouth-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/loudmouth-dev/receipt Fri Apr 01 07:38:03 2022 +0100 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="loudmouth-dev" +VERSION="1.5.4" +CATEGORY="development" +SHORT_DESC="A lightweight Jabber client library - development files." +MAINTAINER="maintainer@slitaz.org" +LICENSE="LGPL2+" +WEB_SITE="https://github.com/mcabber/loudmouth" + +DEPENDS="loudmouth" +WANTED="loudmouth" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + get_dev_files +} diff -r 2c7fdf85178f -r 8acd10ad5f1c loudmouth/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/loudmouth/description.txt Fri Apr 01 07:38:03 2022 +0100 @@ -0,0 +1,3 @@ +Loudmouth is a lightweight and easy-to-use C library for programming with the +Jabber protocol. It's designed to be easy to get started with and yet +extensible to let you do anything the Jabber protocol allows. diff -r 2c7fdf85178f -r 8acd10ad5f1c loudmouth/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/loudmouth/receipt Fri Apr 01 07:38:03 2022 +0100 @@ -0,0 +1,35 @@ +# 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" + +BUILD_DEPENDS="autoconfglib-dev gnutls-dev libidn-dev libasyncns-dev libtool + pkg-config" + +# 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* +}