wok view msmtp/receipt @ rev 25037

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