1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= 2151ad18cb73f9a254f796dde2b48be7318b45410b59fedbb258db5a41044fb5
10 PKG_DESCR
:= minimal and secure mail sender
11 PKG_SECTION
:= net
/mail
12 PKG_SITES
:= http
://ftp.debian.org
/debian
/pool
/main
/s
/ssmtp
/
14 DISTFILES
:= ${PKG_NAME}_
${PKG_VERSION}.orig.
tar.gz
16 include ${ADK_TOPDIR}/mk
/package.mk
18 $(eval
$(call PKG_template
,SSMTP
,ssmtp
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
20 INSTALL_STYLE
:= manual
22 CONFIGURE_ENV
+= ac_cv_lib_nsl_gethostname
=no
25 ${INSTALL_DIR} ${IDIR_SSMTP}/etc
/ssmtp
26 ${INSTALL_DIR} ${IDIR_SSMTP}/usr
/sbin
27 ${INSTALL_DATA} ${WRKBUILD}/ssmtp.conf
${IDIR_SSMTP}/etc
/ssmtp
/
28 ${INSTALL_DATA} ${WRKBUILD}/revaliases
${IDIR_SSMTP}/etc
/ssmtp
/
29 ${INSTALL_BIN} ${WRKBUILD}/ssmtp
${IDIR_SSMTP}/usr
/sbin
/
30 ln
-sf ssmtp
${IDIR_SSMTP}/usr
/sbin
/sendmail
32 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk