wok annotate msmtp/receipt @ rev 24928

updated msmtp (1.8.7 -> 1.8.20)
author Hans-G?nter Theisgen
date Wed Apr 13 15:47:53 2022 +0100 (2022-04-13)
parents ad8b9ff412d2
children
rev   line source
pankso@12192 1 # SliTaz package receipt.
pankso@12192 2
pankso@12192 3 PACKAGE="msmtp"
Hans-G?nter@24928 4 VERSION="1.8.20"
pankso@12192 5 CATEGORY="network"
Hans-G?nter@21492 6 SHORT_DESC="An SMTP client that transmits a mail to an SMTP server."
pankso@12192 7 MAINTAINER="pankso@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
Hans-G?nter@21492 9 WEB_SITE="https://marlam.de/msmtp/"
Hans-G?nter@21492 10
Hans-G?nter@21492 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@21492 12 WGET_URL="${WEB_SITE}releases/$TARBALL"
pankso@12192 13
Hans-G?nter@24928 14 SUGGESTED="msmtp-lang"
pankso@12192 15 DEPENDS="libssl"
pankso@12192 16 BUILD_DEPENDS="openssl-dev"
pankso@12192 17
pascal@24433 18 # What is the latest version available today?
pascal@24433 19 current_version()
pascal@24433 20 {
pascal@24433 21 wget -O - https://marlam.de/msmtp/download/ 2>/dev/null | \
pascal@24433 22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24433 23 }
pascal@24433 24
pankso@12192 25 # Rules to configure and make the package.
pankso@12192 26 compile_rules()
pankso@12192 27 {
Hans-G?nter@21492 28 ./configure \
Hans-G?nter@24928 29 LDFLAGS="$LDFLAGS -lrt" \
Hans-G?nter@24928 30 --with-tls=openssl \
Hans-G?nter@21492 31 --without-libgsasl \
Hans-G?nter@21492 32 --without-libidn \
pankso@12192 33 $CONFIGURE_ARGS &&
Hans-G?nter@21492 34 make &&
Hans-G?nter@21492 35 make install
pankso@12192 36 }
pankso@12192 37
pankso@12192 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12192 39 genpkg_rules()
pankso@12192 40 {
Hans-G?nter@24928 41 cook_copy_folders bin
pankso@12192 42 }