Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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:= postfix
  5. PKG_VERSION:= 3.2.0
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 420726e79622620394fd17799e49268dada7041ea067ca3aa1c8bf155b9aa487
  8. PKG_DESCR:= popular mail transfer agent
  9. PKG_SECTION:= net/mail
  10. PKG_BUILDDEP:= tinycdb
  11. PKG_URL:= http://www.postfix.org/
  12. PKG_SITES:= http://de.postfix.org/ftpmirror/official/
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  14. PKG_HOST_DEPENDS:= !darwin
  15. # missing res_send support in resolver
  16. PKG_LIBC_DEPENDS:= glibc musl
  17. include $(ADK_TOPDIR)/mk/package.mk
  18. $(eval $(call PKG_template,POSTFIX,postfix,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. CONFIG_STYLE:= manual
  20. ALL_TARGET:=
  21. INSTALL_STYLE:= manual
  22. do-configure:
  23. (cd $(WRKBUILD) && make -f Makefile.init makefiles "CCARGS=-DNO_PCRE -DNO_NIS -DNO_DB -DHAS_CDB -I$(STAGING_TARGET_DIR)/usr/include" "AUXLIBS=$(STAGING_TARGET_DIR)/usr/lib/libcdb.a")
  24. postfix-install:
  25. $(INSTALL_DIR) $(IDIR_POSTFIX)/etc/postfix
  26. $(CP) $(WRKBUILD)/conf/* $(IDIR_POSTFIX)/etc/postfix
  27. $(CP) ./files/main.cf $(IDIR_POSTFIX)/etc/postfix
  28. $(INSTALL_DIR) $(IDIR_POSTFIX)/usr/sbin
  29. $(CP) $(WRKBUILD)/bin/* $(IDIR_POSTFIX)/usr/sbin
  30. $(INSTALL_DIR) $(IDIR_POSTFIX)/usr/libexec/postfix
  31. $(CP) $(WRKBUILD)/libexec/* $(IDIR_POSTFIX)/usr/libexec/postfix
  32. include ${ADK_TOPDIR}/mk/pkg-bottom.mk