# HG changeset patch # User Hans-G?nter Theisgen # Date 1647418460 -3600 # Node ID 0c6152afb7bb3f6d2e746f6595509b18716c1bc1 # Parent a7524849966d78c3891e818ebcc3e3c7b5bd07e7 updated libesmtp and libesmtp-dev (1.0.6 -> 1.1.0) diff -r a7524849966d -r 0c6152afb7bb libesmtp-dev/receipt --- a/libesmtp-dev/receipt Wed Mar 16 08:49:13 2022 +0100 +++ b/libesmtp-dev/receipt Wed Mar 16 09:14:20 2022 +0100 @@ -1,25 +1,19 @@ # SliTaz package receipt. PACKAGE="libesmtp-dev" -VERSION="1.0.6" +VERSION="1.1.0" CATEGORY="development" -SHORT_DESC="Lesmpt headers files." +SHORT_DESC="Libesmpt development files." MAINTAINER="erjo@slitaz.org" LICENSE="GPL2" -WEB_SITE="http://freecode.com/projects/libesmtp/" -WANTED="libesmtp" +WEB_SITE="https://libesmtp.github.io/" DEPENDS="libesmtp" +WANTED="libesmtp" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir $fs/usr - - cp -a $install/usr/include $fs/usr - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib $fs/usr - - find $fs -name "*.so*" -exec rm -f {} \; - + cook_copy_folders include + cook_copy_folders pkgconfig } diff -r a7524849966d -r 0c6152afb7bb libesmtp/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libesmtp/description.txt Wed Mar 16 09:14:20 2022 +0100 @@ -0,0 +1,5 @@ +LibESMTP is an SMTP client library which manages submission of +electronic mail via a preconfigured Mail Transport Agent (MTA) +such as Exim or Postfix. +It implements many SMTP extensions including TLS for security +and pipelining for high performance. diff -r a7524849966d -r 0c6152afb7bb libesmtp/receipt --- a/libesmtp/receipt Wed Mar 16 08:49:13 2022 +0100 +++ b/libesmtp/receipt Wed Mar 16 09:14:20 2022 +0100 @@ -1,17 +1,18 @@ # SliTaz package receipt. PACKAGE="libesmtp" -VERSION="1.0.6" +VERSION="1.1.0" CATEGORY="network" -SHORT_DESC="A Library for Posting Electronic Mai" +SHORT_DESC="A Library for submission of Electronic Mail." MAINTAINER="erjo@slitaz.org" LICENSE="GPL2" -WEB_SITE="http://freecode.com/projects/libesmtp/" -TARBALL="$PACKAGE-$VERSION.tar.bz2" -WGET_URL="http://www.stafford.uklinux.net/libesmtp/$TARBALL" +WEB_SITE="https://libesmtp.github.io/" -DEPENDS="libltdl libssl" -BUILD_DEPENDS="openssl-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/$PACKAGE/libESMTP/archive/v$VERSION.tar.gz" + +DEPENDS="gcc83-lib-base libltdl libssl" +BUILD_DEPENDS="gcc83 meson openssl-dev" # What is the latest version available today? current_version() @@ -23,15 +24,17 @@ # Rules to configure and make the package. compile_rules() { - cd $src - ./configure $CONFIGURE_ARGS && make && make install + export CC=gcc-83 + export CXX=g++-83 + + meson _build \ + --prefix=/usr && + ninja -C _build && + ninja -C _build install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr - - find $fs -name "*.*a" -exec rm -f {} \; + cook_copy_files *.so* }