wok-next view ssmtp/receipt @ rev 20760

Add memtest-bin.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 02 17:02:49 2018 +0300 (2018-06-02)
parents d6ca18366f41
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ssmtp"
4 VERSION="2.64"
5 CATEGORY="network"
6 SHORT_DESC="Extremely simple MTA to get mail off the system to a mailhub"
7 MAINTAINER="rocky@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://packages.debian.org/stable/mail/ssmtp"
11 TARBALL="${PACKAGE}_${VERSION}.orig.tar.bz2"
12 WGET_URL="http://ftp.debian.org/debian/pool/main/s/ssmtp/$TARBALL"
14 BUILD_DEPENDS="openssl-dev"
16 compile_rules() {
17 sed -i 's|@LIBS@|& -lcrypto|' Makefile.in
19 ./configure \
20 --enable-md5auth \
21 --enable-ssl \
22 $CONFIGURE_ARGS &&
23 make || return 1
25 # Install
26 mkdir -p $DESTDIR/usr/sbin $DESTDIR/etc/ssmtp
27 cp ssmtp $DESTDIR/usr/sbin
28 cp revaliases ssmtp.conf $DESTDIR/etc/ssmtp
30 ln -sf ssmtp "$install/usr/sbin/sendmail"
31 ln -sf ssmtp "$install/usr/sbin/newaliases"
32 ln -sf ssmtp "$install/usr/sbin/mailq"
33 }
35 genpkg_rules() {
36 copy @std
37 DEPENDS="openssl"
38 CONFIG_FILES="/etc/ssmtp/ssmtp.conf /etc/ssmtp/revaliases"
39 }