grub: no biosdisk for mips arc
[openadk.git] / package / postfix / Makefile
blob96d607dd651ff07cd893c9d736851ffd31d6d1a0
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.1.0
8 PKG_RELEASE:= 1
9 PKG_HASH:= 88ac3e92755629077d9363319b1fa0db406efb10c2f22cdbb941bd8ab36fd733
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 XAKE_FLAGS+= GCC_HONOUR_COPTS=s
27 CONFIG_STYLE:= manual
28 ALL_TARGET:=
29 INSTALL_STYLE:= manual
31 do-configure:
32 (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")
34 postfix-install:
35 $(INSTALL_DIR) $(IDIR_POSTFIX)/etc/postfix
36 $(CP) $(WRKBUILD)/conf/* $(IDIR_POSTFIX)/etc/postfix
37 $(CP) ./files/main.cf $(IDIR_POSTFIX)/etc/postfix
38 $(INSTALL_DIR) $(IDIR_POSTFIX)/usr/sbin
39 $(CP) $(WRKBUILD)/bin/* $(IDIR_POSTFIX)/usr/sbin
40 $(INSTALL_DIR) $(IDIR_POSTFIX)/usr/libexec/postfix
41 $(CP) $(WRKBUILD)/libexec/* $(IDIR_POSTFIX)/usr/libexec/postfix
43 include ${ADK_TOPDIR}/mk/pkg-bottom.mk