wok-6.x annotate msmtp/receipt @ rev 24448

firefox-official*: disable update by policy
author Hans-G?nter Theisgen
date Tue Feb 15 10:43:08 2022 +0100 (2022-02-15)
parents 6eddddd08919
children 01de68420db5
rev   line source
pankso@12192 1 # SliTaz package receipt.
pankso@12192 2
pankso@12192 3 PACKAGE="msmtp"
Hans-G?nter@23196 4 VERSION="1.8.7"
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
pankso@12192 14 DEPENDS="libssl"
pankso@12192 15 BUILD_DEPENDS="openssl-dev"
pankso@12192 16
pascal@24433 17 # What is the latest version available today?
pascal@24433 18 current_version()
pascal@24433 19 {
pascal@24433 20 wget -O - https://marlam.de/msmtp/download/ 2>/dev/null | \
pascal@24433 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24433 22 }
pascal@24433 23
pankso@12192 24 # Rules to configure and make the package.
pankso@12192 25 compile_rules()
pankso@12192 26 {
Hans-G?nter@21492 27 ./configure \
Hans-G?nter@21492 28 --with-ssl=openssl \
Hans-G?nter@21492 29 --without-libgsasl \
Hans-G?nter@21492 30 --without-libidn \
pankso@12192 31 $CONFIGURE_ARGS &&
Hans-G?nter@21492 32 make &&
Hans-G?nter@21492 33 make install
pankso@12192 34 }
pankso@12192 35
pankso@12192 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12192 37 genpkg_rules()
pankso@12192 38 {
pankso@12192 39 mkdir -p $fs/usr
Hans-G?nter@23196 40 cp -a $install/usr/bin $fs/usr
pankso@12192 41 }