wok rev 24735

updated libesmtp and libesmtp-dev (1.0.6 -> 1.1.0)
author Hans-G?nter Theisgen
date Wed Mar 16 09:14:20 2022 +0100 (2022-03-16)
parents a7524849966d
children af2087495a35
files libesmtp-dev/receipt libesmtp/description.txt libesmtp/receipt
line diff
     1.1 --- a/libesmtp-dev/receipt	Wed Mar 16 08:49:13 2022 +0100
     1.2 +++ b/libesmtp-dev/receipt	Wed Mar 16 09:14:20 2022 +0100
     1.3 @@ -1,25 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libesmtp-dev"
     1.7 -VERSION="1.0.6"
     1.8 +VERSION="1.1.0"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Lesmpt headers files."
    1.11 +SHORT_DESC="Libesmpt development files."
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -WEB_SITE="http://freecode.com/projects/libesmtp/"
    1.15 -WANTED="libesmtp"
    1.16 +WEB_SITE="https://libesmtp.github.io/"
    1.17  
    1.18  DEPENDS="libesmtp"
    1.19 +WANTED="libesmtp"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24 -	mkdir $fs/usr
    1.25 -	
    1.26 -	cp -a $install/usr/include $fs/usr
    1.27 -	cp -a $install/usr/bin $fs/usr
    1.28 -	cp -a $install/usr/lib $fs/usr
    1.29 -	
    1.30 -	find $fs -name "*.so*" -exec rm -f {} \;
    1.31 -	
    1.32 +	cook_copy_folders	include
    1.33 +	cook_copy_folders	pkgconfig
    1.34  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libesmtp/description.txt	Wed Mar 16 09:14:20 2022 +0100
     2.3 @@ -0,0 +1,5 @@
     2.4 +LibESMTP is an SMTP client library which manages submission of
     2.5 +electronic mail via a preconfigured Mail Transport Agent (MTA)
     2.6 +such as Exim or Postfix.
     2.7 +It implements many SMTP extensions including TLS for security
     2.8 +and pipelining for high performance.
     3.1 --- a/libesmtp/receipt	Wed Mar 16 08:49:13 2022 +0100
     3.2 +++ b/libesmtp/receipt	Wed Mar 16 09:14:20 2022 +0100
     3.3 @@ -1,17 +1,18 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="libesmtp"
     3.7 -VERSION="1.0.6"
     3.8 +VERSION="1.1.0"
     3.9  CATEGORY="network"
    3.10 -SHORT_DESC="A Library for Posting Electronic Mai"
    3.11 +SHORT_DESC="A Library for submission of Electronic Mail."
    3.12  MAINTAINER="erjo@slitaz.org"
    3.13  LICENSE="GPL2"
    3.14 -WEB_SITE="http://freecode.com/projects/libesmtp/"
    3.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.16 -WGET_URL="http://www.stafford.uklinux.net/libesmtp/$TARBALL"
    3.17 +WEB_SITE="https://libesmtp.github.io/"
    3.18  
    3.19 -DEPENDS="libltdl libssl"
    3.20 -BUILD_DEPENDS="openssl-dev"
    3.21 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.22 +WGET_URL="https://github.com/$PACKAGE/libESMTP/archive/v$VERSION.tar.gz"
    3.23 +
    3.24 +DEPENDS="gcc83-lib-base libltdl libssl"
    3.25 +BUILD_DEPENDS="gcc83 meson openssl-dev"
    3.26  
    3.27  # What is the latest version available today?
    3.28  current_version()
    3.29 @@ -23,15 +24,17 @@
    3.30  # Rules to configure and make the package.
    3.31  compile_rules()
    3.32  {
    3.33 -	cd $src
    3.34 -	./configure $CONFIGURE_ARGS && make && make install
    3.35 +	export	CC=gcc-83
    3.36 +	export	CXX=g++-83
    3.37 +
    3.38 +	meson	_build		\
    3.39 +		--prefix=/usr &&
    3.40 +	ninja	-C _build &&
    3.41 +	ninja	-C _build install
    3.42  }
    3.43  
    3.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.45  genpkg_rules()
    3.46  {
    3.47 -	mkdir -p $fs/usr
    3.48 -	cp -a $install/usr/lib $fs/usr
    3.49 -	
    3.50 -	find $fs -name "*.*a" -exec rm -f {} \;
    3.51 +	cook_copy_files	*.so*
    3.52  }