diff options
author | Phil Sutter <phil@nwl.cc> | 2014-06-17 03:07:53 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-18 09:10:36 +0200 |
commit | efc772df2c5ca05bc7f3a66b80152f5c66b8b815 (patch) | |
tree | ce31abb06c8611fafc251c5fc5b867345e230d6e /package | |
parent | de57b2bec3d3a07111fd7a491e09c83dd04f2379 (diff) |
port package esmtp
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'package')
-rw-r--r-- | package/esmtp/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/package/esmtp/Makefile b/package/esmtp/Makefile new file mode 100644 index 000000000..62f18f75a --- /dev/null +++ b/package/esmtp/Makefile @@ -0,0 +1,29 @@ +# 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 + +# always use tab spaces as separator, no spaces +PKG_NAME:= esmtp +PKG_VERSION:= 1.2 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 79a9c1f9023d53f35bb82bf446150a72 +PKG_DESCR:= relay-only Mail Transfer Agent (MTA) +PKG_SECTION:= net/mail +PKG_DEPENDS:= libesmtp openssl flex +PKG_BUILDDEP:= libesmtp openssl flex +PKG_URL:= http://esmtp.sourceforge.net/ +PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=esmtp/} +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,ESMTP,esmtp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +esmtp-install: + $(INSTALL_DIR) $(IDIR_ESMTP)/usr/{bin,sbin} + $(INSTALL_BIN) $(WRKINST)/usr/bin/esmtp $(IDIR_ESMTP)/usr/bin + $(CP) $(WRKINST)/usr/bin/{mailq,newaliases} $(IDIR_ESMTP)/usr/bin/ + $(CP) $(WRKINST)/usr/sbin/sendmail $(IDIR_ESMTP)/usr/sbin/ + +include ${TOPDIR}/mk/pkg-bottom.mk |