Merge openembedded@openembedded.bkbits.net:packages
authorChris Larson <clarson@kergoth.com>
Mon, 3 Nov 2003 22:12:46 +0000 (22:12 +0000)
committerChris Larson <clarson@kergoth.com>
Mon, 3 Nov 2003 22:12:46 +0000 (22:12 +0000)
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

python/python-2.3.2/bindir-libdir.patch [new file with mode: 0644]
python/python-native_2.3.2.oe
python/python_2.3.2.oe

diff --git a/python/python-2.3.2/bindir-libdir.patch b/python/python-2.3.2/bindir-libdir.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..95ebc29 100644 (file)
@@ -0,0 +1,11 @@
+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
+}
+
+
index e69de29..21c65b8 100644 (file)
@@ -0,0 +1,16 @@
+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'
+