Makefile 1008 B

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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= esmtp
  5. PKG_VERSION:= 1.2
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= a0d26931bf731f97514da266d079d8bc7d73c65b3499ed080576ab606b21c0ce
  8. PKG_DESCR:= relay-only mail transfer agent
  9. PKG_SECTION:= net/mail
  10. PKG_DEPENDS:= libesmtp flex
  11. PKG_BUILDDEP:= libesmtp flex
  12. PKG_URL:= http://esmtp.sourceforge.net/
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=esmtp/}
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,ESMTP,esmtp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. esmtp-install:
  18. $(INSTALL_DIR) $(IDIR_ESMTP)/usr/{bin,sbin}
  19. $(INSTALL_BIN) $(WRKINST)/usr/bin/esmtp $(IDIR_ESMTP)/usr/bin
  20. $(CP) $(WRKINST)/usr/bin/{mailq,newaliases} $(IDIR_ESMTP)/usr/bin/
  21. $(CP) $(WRKINST)/usr/sbin/sendmail $(IDIR_ESMTP)/usr/sbin/
  22. include ${ADK_TOPDIR}/mk/pkg-bottom.mk