88d829c280b006f997f7675ea1e5e82c0d814cfd
[vuplus_openembedded] / python / python-native_2.3.3.oe
1 DESCRIPTION = "Python Programming Language"
2 SECTION = "base"
3 PRIORITY = "optional"
4 MAINTAINER = "Michael Lauer <mickey@Vanille.de>"
5
6 SRC_URI = ftp://www.python.org/pub/python/${PV}/Python-${PV}.tar.bz2 \
7           file://${FILESDIR}/bindir-libdir.patch;patch=1             \
8           file://${FILESDIR}/cross-distutils.patch;patch=1
9 S = "${WORKDIR}/Python-${PV}"
10
11 inherit autotools native
12
13 DEPENDS = "patcher-native"
14
15 EXTRA_OECONF = '--with-threads --with-pymalloc --with-cyclic-gc --with-prefix=${STAGING_DIR} --with-exec-prefix=${STAGING_DIR}/build'
16
17 do_configure () {
18         oe_runconf
19 }
20
21 do_stage_append() {
22         # install pgen for later usage with non-native builds
23         install Parser/pgen ${STAGING_DIR}/build/bin
24 }
25