wok-current view msmtp/receipt @ rev 25119
updated peazip (6.8.0 -> 8.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 26 09:56:47 2022 +0100 (2022-06-26) |
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 }