openssh: update to 9.8p1
[openadk.git] / package / postfix / Makefile
blobd0944711a5cce602ef9bf7727ad558960de58105
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:= postfix
7 PKG_VERSION:= 3.2.0
8 PKG_RELEASE:= 1
9 PKG_HASH:= 420726e79622620394fd17799e49268dada7041ea067ca3aa1c8bf155b9aa487
10 PKG_DESCR:= popular mail transfer agent
11 PKG_SECTION:= net/mail
12 PKG_BUILDDEP:= tinycdb
13 PKG_URL:= http://www.postfix.org/
14 PKG_SITES:= http://de.postfix.org/ftpmirror/official/
16 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
18 PKG_HOST_DEPENDS:= !darwin
19 # missing res_send support in resolver
20 PKG_LIBC_DEPENDS:= glibc musl
22 include $(ADK_TOPDIR)/mk/package.mk
24 $(eval $(call PKG_template,POSTFIX,postfix,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
26 CONFIG_STYLE:= manual
27 ALL_TARGET:=
28 INSTALL_STYLE:= manual
30 do-configure:
31 (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")
33 postfix-install:
34 $(INSTALL_DIR) $(IDIR_POSTFIX)/etc/postfix
35 $(CP) $(WRKBUILD)/conf/* $(IDIR_POSTFIX)/etc/postfix
36 $(CP) ./files/main.cf $(IDIR_POSTFIX)/etc/postfix
37 $(INSTALL_DIR) $(IDIR_POSTFIX)/usr/sbin
38 $(CP) $(WRKBUILD)/bin/* $(IDIR_POSTFIX)/usr/sbin
39 $(INSTALL_DIR) $(IDIR_POSTFIX)/usr/libexec/postfix
40 $(CP) $(WRKBUILD)/libexec/* $(IDIR_POSTFIX)/usr/libexec/postfix
42 include ${ADK_TOPDIR}/mk/pkg-bottom.mk