summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-11-03 22:12:46 +0000
committerChris Larson <clarson@kergoth.com>2003-11-03 22:12:46 +0000
commit5c8d36619fb363f1d34d89596d69d9572765ee7a (patch)
tree9872be8e71b4084d5a510b1ba6b5f377b2a1c2e0
parentf7c62ab813fcafe7cde882f0a6ebf937416bf542 (diff)
Merge openembedded@openembedded.bkbits.net:packages
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
-rw-r--r--python/python-2.3.2/bindir-libdir.patch0
-rw-r--r--python/python-native_2.3.2.oe11
-rw-r--r--python/python_2.3.2.oe16
3 files changed, 27 insertions, 0 deletions
diff --git a/python/python-2.3.2/bindir-libdir.patch b/python/python-2.3.2/bindir-libdir.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/python/python-2.3.2/bindir-libdir.patch
diff --git a/python/python-native_2.3.2.oe b/python/python-native_2.3.2.oe
index e69de29bb2..95ebc29a8f 100644
--- a/python/python-native_2.3.2.oe
+++ b/python/python-native_2.3.2.oe
@@ -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
+}
+
+
diff --git a/python/python_2.3.2.oe b/python/python_2.3.2.oe
index e69de29bb2..21c65b8894 100644
--- a/python/python_2.3.2.oe
+++ b/python/python_2.3.2.oe
@@ -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'
+