summaryrefslogtreecommitdiff
path: root/packages/zope/zope_3.3.1.bb
blob: 156de2134ffbcd88e97f873bfe2af914b9b54c11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
DESCRIPTION = "A full fledged pluggable content management system with integrated web server and much more."
SECTION = "console/network"
PRIORITY = "optional"
DEPENDS = "python"
RDEPENDS = "python-core python-shell"
LICENSE = "ZPL"
PR = "r2"

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}
}

do_install() {
	oe_runmake install prefix=${D}${prefix} HOST_SYS=${HOST_SYS} BUILD_SYS=${BUILD_SYS}
}

PACKAGES =+ "python-zopeinterface python-zopeinterface-dbg"

FILES_${PN} = "${prefix}"
FILES_${PN}_doc = "${prefix}/doc"
FILES_${PN}-dbg += "\
${libdir}/python/BTrees/.debug \
${libdir}/python/persistent/.debug \
${libdir}/python/zope/proxy/.debug \
${libdir}/python/zope/thread/.debug \
${libdir}/python/zope/security/.debug \
${libdir}/python/zope/hookable/.debug \
${libdir}/python/zope/app/container/.debug \
${libdir}/python/zope/i18nmessageid/.debug \
${libdir}/python/ZODB/.debug"
FILES_python-zopeinterface-dbg += "${libdir}/python/zope/interface/.debug "

FILES_python-zopeinterface = "${libdir}/python/zope/interface/*.* ${libdir}/python/zope/interface/common"