wok diff libesmtp/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents 544e47246b33
children 7364ffdaaa60
line diff
     1.1 --- a/libesmtp/receipt	Wed Feb 23 16:54:57 2022 +0000
     1.2 +++ b/libesmtp/receipt	Sat May 21 21:38:29 2022 +0000
     1.3 @@ -1,17 +1,18 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libesmtp"
     1.7 -VERSION="1.0.6"
     1.8 +VERSION="1.1.0"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="A Library for Posting Electronic Mai"
    1.11 +SHORT_DESC="A Library for submission of Electronic Mail."
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -WEB_SITE="http://freecode.com/projects/libesmtp/"
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16 -WGET_URL="http://www.stafford.uklinux.net/libesmtp/$TARBALL"
    1.17 +WEB_SITE="https://libesmtp.github.io/"
    1.18  
    1.19 -DEPENDS="libltdl libssl"
    1.20 -BUILD_DEPENDS="openssl-dev"
    1.21 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.22 +WGET_URL="https://github.com/$PACKAGE/libESMTP/archive/v$VERSION.tar.gz"
    1.23 +
    1.24 +DEPENDS="gcc83-lib-base libltdl libssl"
    1.25 +BUILD_DEPENDS="gcc83 meson openssl-dev"
    1.26  
    1.27  # What is the latest version available today?
    1.28  current_version()
    1.29 @@ -23,15 +24,17 @@
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32  {
    1.33 -	cd $src
    1.34 -	./configure $CONFIGURE_ARGS && make && make install
    1.35 +	export	CC=gcc-83
    1.36 +	export	CXX=g++-83
    1.37 +
    1.38 +	meson	_build		\
    1.39 +		--prefix=/usr &&
    1.40 +	ninja	-C _build &&
    1.41 +	ninja	-C _build install
    1.42  }
    1.43  
    1.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.45  genpkg_rules()
    1.46  {
    1.47 -	mkdir -p $fs/usr
    1.48 -	cp -a $install/usr/lib $fs/usr
    1.49 -	
    1.50 -	find $fs -name "*.*a" -exec rm -f {} \;
    1.51 +	cook_copy_files	*.so*
    1.52  }