summaryrefslogtreecommitdiff
path: root/package/ssmtp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/ssmtp/Makefile')
-rw-r--r--package/ssmtp/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/ssmtp/Makefile b/package/ssmtp/Makefile
new file mode 100644
index 000000000..54db35b66
--- /dev/null
+++ b/package/ssmtp/Makefile
@@ -0,0 +1,30 @@
+# $Id$
+#-
+# 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
+MASTER_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,ssmtp,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+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