summaryrefslogtreecommitdiff
path: root/package/esmtp/Makefile
blob: f5f2d1a2ef7947935d5c0e4de40562914317d268 (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
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		esmtp
PKG_VERSION:=		1.2
PKG_RELEASE:=		1
PKG_MD5SUM:=		79a9c1f9023d53f35bb82bf446150a72
PKG_DESCR:=		relay-only mail transfer agent
PKG_SECTION:=		net/mail
PKG_DEPENDS:=		libesmtp flex
PKG_BUILDDEP:=		libesmtp flex
PKG_URL:=		http://esmtp.sourceforge.net/
PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=esmtp/}

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.bz2

include $(ADK_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 ${ADK_TOPDIR}/mk/pkg-bottom.mk