wok-current view msmtp/receipt @ rev 25600

Use gcc49 to build openldap
author Stanislas Leduc <shann@slitaz.org>
date Fri Sep 01 09:57:42 2023 +0000 (14 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 }