wok-next view ssmtp/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | 757d032c55c7 |
children |
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="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://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 $install/usr/sbin $install/etc/ssmtp
27 cp ssmtp $install/usr/sbin
28 cp revaliases ssmtp.conf $install/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 }