wok-next annotate ssmtp/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 757d032c55c7 |
children |
rev | line source |
---|---|
al@20534 | 1 # SliTaz package receipt v2. |
rocky@3548 | 2 |
rocky@3548 | 3 PACKAGE="ssmtp" |
slaxemulator@11000 | 4 VERSION="2.64" |
rocky@3548 | 5 CATEGORY="network" |
al@20534 | 6 SHORT_DESC="Extremely simple MTA to get mail off the system to a mailhub" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
al@21020 | 9 WEB_SITE="https://packages.debian.org/stable/mail/ssmtp" |
al@20534 | 10 |
al@21020 | 11 TARBALL="${PACKAGE}_$VERSION.orig.tar.bz2" |
rocky@3548 | 12 WGET_URL="http://ftp.debian.org/debian/pool/main/s/ssmtp/$TARBALL" |
rocky@3548 | 13 |
pascal@15002 | 14 BUILD_DEPENDS="openssl-dev" |
pascal@15002 | 15 |
al@20534 | 16 compile_rules() { |
al@18734 | 17 sed -i 's|@LIBS@|& -lcrypto|' Makefile.in |
al@20534 | 18 |
al@20534 | 19 ./configure \ |
al@18734 | 20 --enable-md5auth \ |
al@18734 | 21 --enable-ssl \ |
al@18734 | 22 $CONFIGURE_ARGS && |
al@20534 | 23 make || return 1 |
rocky@3548 | 24 |
al@18734 | 25 # Install |
al@21020 | 26 mkdir -p $install/usr/sbin $install/etc/ssmtp |
al@21020 | 27 cp ssmtp $install/usr/sbin |
al@21020 | 28 cp revaliases ssmtp.conf $install/etc/ssmtp |
al@20534 | 29 |
al@20534 | 30 ln -sf ssmtp "$install/usr/sbin/sendmail" |
al@20534 | 31 ln -sf ssmtp "$install/usr/sbin/newaliases" |
al@20534 | 32 ln -sf ssmtp "$install/usr/sbin/mailq" |
rocky@3548 | 33 } |
rocky@3548 | 34 |
al@20534 | 35 genpkg_rules() { |
al@20534 | 36 copy @std |
al@20534 | 37 DEPENDS="openssl" |
al@20534 | 38 CONFIG_FILES="/etc/ssmtp/ssmtp.conf /etc/ssmtp/revaliases" |
rocky@3548 | 39 } |