aboutsummaryrefslogtreecommitdiffstats
path: root/python/python-native_2.3.3.oe
blob: 08433a3560f01696bb3b9f098e23ed955fe5a84c (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
DESCRIPTION="Python Programming Language"
SECTION=base
PRIORITY=optional
MAINTAINER="Michael Lauer <mickey@Vanille.de>"

SRC_URI = ftp://www.python.org/pub/python/${PV}/Python-${PV}.tar.bz2 \
          file://${FILESDIR}/bindir-libdir.patch;patch=1             \
	  file://${FILESDIR}/cross-distutils.patch;patch=1
S = ${WORKDIR}/Python-${PV}

inherit autotools native

DEPENDS=patcher-native

EXTRA_OECONF = '--with-threads --with-pymalloc --with-cyclic-gc --with-exec-prefix=${STAGING_DIR}/build'
do_configure () {
	oe_runconf
}

do_stage_append() {
	# install pgen for later usage with non-native builds
	install Parser/pgen ${STAGING_DIR}/build/bin
}