add php process control support
[openadk.git] / package / esmtp / Makefile
blob777dd6862b0852d30f96fa700e54ad4b652bfe73
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
6 PKG_NAME:= esmtp
7 PKG_VERSION:= 1.2
8 PKG_RELEASE:= 1
9 PKG_HASH:= a0d26931bf731f97514da266d079d8bc7d73c65b3499ed080576ab606b21c0ce
10 PKG_DESCR:= relay-only mail transfer agent
11 PKG_SECTION:= net/mail
12 PKG_DEPENDS:= libesmtp flex
13 PKG_BUILDDEP:= libesmtp flex
14 PKG_URL:= http://esmtp.sourceforge.net/
15 PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=esmtp/}
17 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
19 include $(ADK_TOPDIR)/mk/package.mk
21 $(eval $(call PKG_template,ESMTP,esmtp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
23 esmtp-install:
24 $(INSTALL_DIR) $(IDIR_ESMTP)/usr/{bin,sbin}
25 $(INSTALL_BIN) $(WRKINST)/usr/bin/esmtp $(IDIR_ESMTP)/usr/bin
26 $(CP) $(WRKINST)/usr/bin/{mailq,newaliases} $(IDIR_ESMTP)/usr/bin/
27 $(CP) $(WRKINST)/usr/sbin/sendmail $(IDIR_ESMTP)/usr/sbin/
29 include ${ADK_TOPDIR}/mk/pkg-bottom.mk