diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-12-03 19:03:04 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-12-03 19:03:04 +0100 |
commit | 00b2b3fdc4b5fdbb4f8c39889353fb6acc8425e8 (patch) | |
tree | 3fdc467968f30f44c7d86f18116caead50800a16 /package/postfix/Makefile | |
parent | bf16ddf6e65e4ddcfd2775d0b5358480a389e0ca (diff) |
fix build
Diffstat (limited to 'package/postfix/Makefile')
-rw-r--r-- | package/postfix/Makefile | 32 |
1 files changed, 29 insertions, 3 deletions
diff --git a/package/postfix/Makefile b/package/postfix/Makefile index 20b37cfbe..c34530fd6 100644 --- a/package/postfix/Makefile +++ b/package/postfix/Makefile @@ -10,9 +10,12 @@ PKG_MD5SUM:= b3ff47a38db920fc15bb207f42da53db PKG_DESCR:= Postfix MTA PKG_SECTION:= mail PKG_BUILDDEP:= db +PKG_DEPENDS:= libdb PKG_URL:= http://www.postfix.org/ PKG_SITES:= http://de.postfix.org/ftpmirror/official/ +PKG_HOST_DEPENDS:= !darwin + include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,POSTFIX,postfix,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) @@ -20,10 +23,33 @@ $(eval $(call PKG_template,POSTFIX,postfix,$(PKG_VERSION)-${PKG_RELEASE},${PKG_D XAKE_FLAGS+= GCC_HONOUR_COPTS=s CONFIG_STYLE:= manual ALL_TARGET:= +INSTALL_STYLE:= manual postfix-install: - $(INSTALL_DIR) $(IDIR_POSTFIX)/usr/bin - $(INSTALL_BIN) $(WRKINST)/usr/bin/postfix \ - $(IDIR_POSTFIX)/usr/bin + $(INSTALL_DIR) $(IDIR_POSTFIX)/etc/postfix + $(CP) $(WRKBUILD)/conf/* $(IDIR_POSTFIX)/etc/postfix + $(CP) ./files/main.cf $(IDIR_POSTFIX)/etc/postfix + $(INSTALL_DIR) $(IDIR_POSTFIX)/usr/sbin + $(CP) $(WRKBUILD)/bin/* $(IDIR_POSTFIX)/usr/sbin + $(INSTALL_DIR) $(IDIR_POSTFIX)/usr/libexec/postfix + $(CP) $(WRKBUILD)/libexec/* $(IDIR_POSTFIX)/usr/libexec/postfix + rm $(IDIR_POSTFIX)/usr/libexec/postfix/master.cf + rm $(IDIR_POSTFIX)/usr/libexec/postfix/main.cf + rm $(IDIR_POSTFIX)/usr/libexec/postfix/postfix-script + mv $(IDIR_POSTFIX)/etc/postfix/postfix-script \ + $(IDIR_POSTFIX)/usr/libexec/postfix/ + rm $(IDIR_POSTFIX)/usr/libexec/postfix/postfix-files + mv $(IDIR_POSTFIX)/etc/postfix/postfix-files \ + $(IDIR_POSTFIX)/usr/libexec/postfix/ + rm $(IDIR_POSTFIX)/usr/libexec/postfix/post-install + mv $(IDIR_POSTFIX)/etc/postfix/post-install \ + $(IDIR_POSTFIX)/usr/libexec/postfix/ + rm $(IDIR_POSTFIX)/usr/libexec/postfix/postfix-wrapper + mv $(IDIR_POSTFIX)/etc/postfix/postfix-wrapper \ + $(IDIR_POSTFIX)/usr/libexec/postfix/ + rm $(IDIR_POSTFIX)/usr/libexec/postfix/postmulti-script + mv $(IDIR_POSTFIX)/etc/postfix/postmulti-script \ + $(IDIR_POSTFIX)/usr/libexec/postfix/ + chmod 755 $(IDIR_POSTFIX)/usr/libexec/postfix/* include ${TOPDIR}/mk/pkg-bottom.mk |