Makefile 1.0 KB

1234567891011121314151617181920212223242526272829
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. # always use tab spaces as separator, no spaces
  5. PKG_NAME:= esmtp
  6. PKG_VERSION:= 1.2
  7. PKG_RELEASE:= 1
  8. PKG_MD5SUM:= 79a9c1f9023d53f35bb82bf446150a72
  9. PKG_DESCR:= relay-only Mail Transfer Agent (MTA)
  10. PKG_SECTION:= net/mail
  11. PKG_DEPENDS:= libesmtp openssl flex
  12. PKG_BUILDDEP:= libesmtp openssl flex
  13. PKG_URL:= http://esmtp.sourceforge.net/
  14. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=esmtp/}
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,ESMTP,esmtp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. esmtp-install:
  19. $(INSTALL_DIR) $(IDIR_ESMTP)/usr/{bin,sbin}
  20. $(INSTALL_BIN) $(WRKINST)/usr/bin/esmtp $(IDIR_ESMTP)/usr/bin
  21. $(CP) $(WRKINST)/usr/bin/{mailq,newaliases} $(IDIR_ESMTP)/usr/bin/
  22. $(CP) $(WRKINST)/usr/sbin/sendmail $(IDIR_ESMTP)/usr/sbin/
  23. include ${TOPDIR}/mk/pkg-bottom.mk