SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "msmtp"

# SliTaz package receipt.

PACKAGE="msmtp"
VERSION="1.8.20"
CATEGORY="network"
SHORT_DESC="An SMTP client that transmits a mail to an SMTP server."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL3"
WEB_SITE="https://marlam.de/msmtp/"

TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="${WEB_SITE}releases/$TARBALL"

SUGGESTED="msmtp-lang"
DEPENDS="libssl"
BUILD_DEPENDS="openssl-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://marlam.de/msmtp/download/ 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure            \
        LDFLAGS="$LDFLAGS -lrt"    \
        --with-tls=openssl    \
        --without-libgsasl    \
        --without-libidn    \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)