gnome-screensaver 2.28.3: fix up configure as well now
[openembedded.git] / recipes / zope / zope.inc
blob618b4c4a784bba27061c411d46e1f92141695230
1 DESCRIPTION = "A full fledged pluggable content management system with integrated web server and much more."
2 SECTION = "console/network"
3 PRIORITY = "optional"
4 LICENSE = "ZPL"
5 PR = "r10"
7 SRC_URI = "http://www.zope.org/Products/Zope3/${PV}/Zope-${PV}.tgz"
8 S = "${WORKDIR}/Zope-${PV}"
10 do_configure() {
11         ./configure --with-python=${STAGING_BINDIR_NATIVE}/python --prefix=${prefix} --force
14 do_compile() {
15         oe_runmake HOST_SYS=${HOST_SYS} BUILD_SYS=${BUILD_SYS} STAGING_INCDIR=${STAGING_INCDIR}
18 do_install() {
19         install -d ${D}${libdir}/${PYTHON_DIR}
20         oe_runmake install prefix=${D}${prefix} HOST_SYS=${HOST_SYS} BUILD_SYS=${BUILD_SYS}
21         mv ${D}${libdir}/python/* ${D}${libdir}/${PYTHON_DIR} 
22         rm -rf ${D}${libdir}/${PYTHON_DIR}/twisted
23         rm -rf ${D}${libdir}/${PYTHON_DIR}/zope/app/twisted
24         # shipped as seperate package
25         rm -rf ${D}${libdir}/${PYTHON_DIR}/zope/interface
28 FILES_${PN} = "${prefix}"
29 FILES_${PN}_doc = "${prefix}/doc"
30 FILES_${PN}-dbg += "\
31 ${libdir}/${PYTHON_DIR}/BTrees/.debug \
32 ${libdir}/${PYTHON_DIR}/persistent/.debug \
33 ${libdir}/${PYTHON_DIR}/zope/proxy/.debug \
34 ${libdir}/${PYTHON_DIR}/zope/thread/.debug \
35 ${libdir}/${PYTHON_DIR}/zope/security/.debug \
36 ${libdir}/${PYTHON_DIR}/zope/hookable/.debug \
37 ${libdir}/${PYTHON_DIR}/zope/app/container/.debug \
38 ${libdir}/${PYTHON_DIR}/zope/i18nmessageid/.debug \
39 ${libdir}/${PYTHON_DIR}/ZODB/.debug"