into direwolf.ppp.ti.com:/home/kergoth/coding/projects/user/oe-metadata/packages
2003/11/03 22:06:59+01:00 vanille.de!mickey
add bindir-libdir patch for python
BKrev: 3fa6d2deqjcOlkWfJ5TxsjU6oAgVBg
+include python_${PV}.oe
+inherit native
+
+FILESDIR = ${@os.path.dirname(oe.data.getVar('FILE',d,1))}/python-${PV}
+
+do_stage_append() {
+ # install pgen for later usage with non-native builds
+ install Parser/pgen ${STAGING_DIR}/build/bin
+}
+
+
+DESCRIPTION="Python Programming Language"
+SECTION="base"
+PRIORITY="optional"
+MAINTAINER="Michael Lauer <mickey@Vanille.de>"
+RDEPENDS="libc6"
+DEPENDS=virtual/libc
+
+SRC_URI = ftp://www.python.org/pub/python/${PV}/Python-${PV}.tar.bz2 \
+ file://${FILESDIR}/bindir-libdir.patch;patch=1
+
+S = ${WORKDIR}/Python-${PV}
+
+inherit autotools
+
+EXTRA_OECONF = '--with-threads --with-pymalloc --with-cyclic-gc --with-exec-prefix=${STAGING_DIR}/build'
+