blob: 00092d1e15fbd3fff370f1c74a787f7567078722 (
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
|
DESCRIPTION = "Python Programming Language"
HOMEPAGE = "http://www.python.org"
LICENSE = "PSF"
SECTION = "devel/python"
PRIORITY = "optional"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
DEPENDS = ""
PR = "r0"
EXCLUDE_FROM_WORLD = "1"
SRC_URI = "http://www.python.org/ftp/python/2.4/Python-2.4.tar.bz2 \
file://bindir-libdir.patch;patch=1 \
file://cross-distutils.patch;patch=1"
S = "${WORKDIR}/Python-2.4"
inherit autotools native
EXTRA_OECONF = "--with-threads --with-pymalloc --with-cyclic-gc --without-cxx --with-signal-module --with-wctype-functions \
--with-prefix=${STAGING_DIR} --with-exec-prefix=${STAGING_DIR}/${BUILD_SYS}"
EXTRA_OEMAKE = 'BUILD_SYS="" HOST_SYS=""'
do_configure () {
oe_runconf
}
do_stage_append() {
# install pgen for later usage with non-native builds
install Parser/pgen ${STAGING_DIR}/${BUILD_SYS}/bin/
}
|