summaryrefslogtreecommitdiff
path: root/recipes/zope/zope.inc
diff options
context:
space:
mode:
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>2009-03-27 18:16:40 +0100
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>2009-03-27 18:17:37 +0100
commit75b82c6cc3c5f45e937968b593d669ac9fd7185f (patch)
treec0160e5334ee1e96283df1b3c41858ab6b542aa7 /recipes/zope/zope.inc
parentbb9b5dd8f35d0f7404a29c0a873bab88c039e712 (diff)
zope-interfaces: new recipe; standalone Zope interfaces for extension products
adjust main zope recipe accordingly
Diffstat (limited to 'recipes/zope/zope.inc')
-rw-r--r--recipes/zope/zope.inc39
1 files changed, 39 insertions, 0 deletions
diff --git a/recipes/zope/zope.inc b/recipes/zope/zope.inc
new file mode 100644
index 0000000000..618b4c4a78
--- /dev/null
+++ b/recipes/zope/zope.inc
@@ -0,0 +1,39 @@
+DESCRIPTION = "A full fledged pluggable content management system with integrated web server and much more."
+SECTION = "console/network"
+PRIORITY = "optional"
+LICENSE = "ZPL"
+PR = "r10"
+
+SRC_URI = "http://www.zope.org/Products/Zope3/${PV}/Zope-${PV}.tgz"
+S = "${WORKDIR}/Zope-${PV}"
+
+do_configure() {
+ ./configure --with-python=${STAGING_BINDIR_NATIVE}/python --prefix=${prefix} --force
+}
+
+do_compile() {
+ oe_runmake HOST_SYS=${HOST_SYS} BUILD_SYS=${BUILD_SYS} STAGING_INCDIR=${STAGING_INCDIR}
+}
+
+do_install() {
+ install -d ${D}${libdir}/${PYTHON_DIR}
+ oe_runmake install prefix=${D}${prefix} HOST_SYS=${HOST_SYS} BUILD_SYS=${BUILD_SYS}
+ mv ${D}${libdir}/python/* ${D}${libdir}/${PYTHON_DIR}
+ rm -rf ${D}${libdir}/${PYTHON_DIR}/twisted
+ rm -rf ${D}${libdir}/${PYTHON_DIR}/zope/app/twisted
+ # shipped as seperate package
+ rm -rf ${D}${libdir}/${PYTHON_DIR}/zope/interface
+}
+
+FILES_${PN} = "${prefix}"
+FILES_${PN}_doc = "${prefix}/doc"
+FILES_${PN}-dbg += "\
+${libdir}/${PYTHON_DIR}/BTrees/.debug \
+${libdir}/${PYTHON_DIR}/persistent/.debug \
+${libdir}/${PYTHON_DIR}/zope/proxy/.debug \
+${libdir}/${PYTHON_DIR}/zope/thread/.debug \
+${libdir}/${PYTHON_DIR}/zope/security/.debug \
+${libdir}/${PYTHON_DIR}/zope/hookable/.debug \
+${libdir}/${PYTHON_DIR}/zope/app/container/.debug \
+${libdir}/${PYTHON_DIR}/zope/i18nmessageid/.debug \
+${libdir}/${PYTHON_DIR}/ZODB/.debug"