summaryrefslogtreecommitdiff
path: root/package/ssmtp/Makefile
blob: 00dafa2960b09867d73bafda068c243419e344a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${TOPDIR}/rules.mk

PKG_NAME:=		ssmtp
PKG_VERSION:=		2.61
PKG_RELEASE:=		1
PKG_MD5SUM:=		957e6fff08625fe34f4fc33d0925bbc9
PKG_DESCR:=		A minimal and secure mail sender
PKG_SECTION:=		net
PKG_SITES:=		http://ftp.debian.org/debian/pool/main/s/ssmtp/

DISTFILES:=		${PKG_NAME}_${PKG_VERSION}.orig.tar.gz

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,SSMTP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIGURE_STYLE:=	gnu
BUILD_STYLE:=		auto

do-install:
	${INSTALL_DIR} ${IDIR_SSMTP}/etc/ssmtp
	${INSTALL_DIR} ${IDIR_SSMTP}/usr/sbin
	${INSTALL_DATA} ${WRKBUILD}/ssmtp.conf ${IDIR_SSMTP}/etc/ssmtp/
	${INSTALL_DATA} ${WRKBUILD}/revaliases ${IDIR_SSMTP}/etc/ssmtp/
	${INSTALL_BIN} ${WRKBUILD}/ssmtp ${IDIR_SSMTP}/usr/sbin/
	ln -sf ssmtp ${IDIR_SSMTP}/usr/sbin/sendmail

include ${TOPDIR}/mk/pkg-bottom.mk