summaryrefslogtreecommitdiff
path: root/nonworking/postfix
diff options
context:
space:
mode:
Diffstat (limited to 'nonworking/postfix')
-rw-r--r--nonworking/postfix/postfix_2.0.15.oe31
1 files changed, 31 insertions, 0 deletions
diff --git a/nonworking/postfix/postfix_2.0.15.oe b/nonworking/postfix/postfix_2.0.15.oe
index e69de29bb2..ceb2ff8c9f 100644
--- a/nonworking/postfix/postfix_2.0.15.oe
+++ b/nonworking/postfix/postfix_2.0.15.oe
@@ -0,0 +1,31 @@
+DEPENDS = db3
+RDEPENDS = libc6 db3
+
+SRC_URI = ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${PV}.tar.gz \
+ file://${FILESDIR}/makedefs.patch;patch=1 \
+ file://${FILESDIR}/install.patch;patch=1
+
+export SYSLIBS='-lpcre -ldb -lnsl -lresolv ${LDFLAGS}'
+export EXPORT="AUXLIBS='-lpcre' CCARGS='-DHAS_PCRE ${CFLAGS}' OPT='' DEBUG='-g'"
+export CC_append=" -DHAS_PCRE ${CFLAGS}"
+
+export EXTRA_OEMAKE = "-e"
+do_compile_prepend () {
+ unset CFLAGS CPPFLAGS CXXFLAGS
+}
+
+#do_compile_append () {
+# rm -f src/postconf/postconf.o
+# oe_runmake -C src/postconf \
+# AR='${BUILD_AR}' \
+# RANLIB='${BUILD_RANLIB}' \
+# SYSLIBS='-lpcre -ldb -lnsl -lresolv ${BUILD_LDFLAGS}' \
+# EXPORT="AUXLIBS='-lpcre' CCARGS='-DHAS_PCRE ${BUILD_CFLAGS}' OPT='' DEBUG='-g'" \
+# CC='${BUILD_CC} -DHAS_PCRE ${BUILD_CFLAGS}' \
+# PROG='postconf.native'
+# touch src/postconf/postconf.c src/postconf/postconf.o bin/postconf.native bin/postconf
+#}
+#
+#do_install () {
+# sh ./postfix-install 'install_root=${D}' -non-interactive
+#}