summaryrefslogtreecommitdiffstats
path: root/openembedded-extras/packages/python/python-native_2.4.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'openembedded-extras/packages/python/python-native_2.4.0.bb')
-rw-r--r--openembedded-extras/packages/python/python-native_2.4.0.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/openembedded-extras/packages/python/python-native_2.4.0.bb b/openembedded-extras/packages/python/python-native_2.4.0.bb
new file mode 100644
index 0000000000..00092d1e15
--- /dev/null
+++ b/openembedded-extras/packages/python/python-native_2.4.0.bb
@@ -0,0 +1,31 @@
1DESCRIPTION = "Python Programming Language"
2HOMEPAGE = "http://www.python.org"
3LICENSE = "PSF"
4SECTION = "devel/python"
5PRIORITY = "optional"
6MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
7DEPENDS = ""
8PR = "r0"
9
10EXCLUDE_FROM_WORLD = "1"
11
12SRC_URI = "http://www.python.org/ftp/python/2.4/Python-2.4.tar.bz2 \
13 file://bindir-libdir.patch;patch=1 \
14 file://cross-distutils.patch;patch=1"
15S = "${WORKDIR}/Python-2.4"
16
17inherit autotools native
18
19EXTRA_OECONF = "--with-threads --with-pymalloc --with-cyclic-gc --without-cxx --with-signal-module --with-wctype-functions \
20 --with-prefix=${STAGING_DIR} --with-exec-prefix=${STAGING_DIR}/${BUILD_SYS}"
21EXTRA_OEMAKE = 'BUILD_SYS="" HOST_SYS=""'
22
23do_configure () {
24 oe_runconf
25}
26
27do_stage_append() {
28 # install pgen for later usage with non-native builds
29 install Parser/pgen ${STAGING_DIR}/${BUILD_SYS}/bin/
30}
31