summaryrefslogtreecommitdiff
path: root/packages/python/python_2.5.1.bb
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-08-23 10:22:21 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-08-23 10:22:21 +0000
commit5bc2ff2c959dbdb66775486da22a557d27a445bc (patch)
tree8bc53710dc1658f58d029237dd042d369816441a /packages/python/python_2.5.1.bb
parenta1cf2a38b26e5143db56a7b1e280f072f434a516 (diff)
python 2.5.1: catch up with some build system changes from 2.4 - 2.5 causing only half of the packages being installed into the prop places
Diffstat (limited to 'packages/python/python_2.5.1.bb')
-rw-r--r--packages/python/python_2.5.1.bb15
1 files changed, 13 insertions, 2 deletions
diff --git a/packages/python/python_2.5.1.bb b/packages/python/python_2.5.1.bb
index 6cf14735f1..400376599a 100644
--- a/packages/python/python_2.5.1.bb
+++ b/packages/python/python_2.5.1.bb
@@ -5,7 +5,9 @@ SECTION = "devel/python"
PRIORITY = "optional"
DEPENDS = "python-native readline zlib gdbm openssl sqlite3 tcl tk"
DEPENDS_sharprom = "python-native readline zlib gdbm openssl"
-PR = "ml0"
+
+# NOTE: Keep the digit in sync with BASEREV in contrib/generate-manifest-2.5.py
+PR = "ml1"
PYTHON_MAJMIN = "2.5"
@@ -41,6 +43,15 @@ do_compile_prepend() {
}
do_compile() {
+ oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/pgen \
+ HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python \
+ STAGING_LIBDIR=${STAGING_LIBDIR} \
+ STAGING_INCDIR=${STAGING_INCDIR} \
+ BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
+ OPT="${CFLAGS}" libpython2.5.so
+
+ oe_libinstall -so libpython2.5 ${STAGING_LIBDIR}
+
oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/pgen \
HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python \
STAGING_LIBDIR=${STAGING_LIBDIR} \
@@ -61,7 +72,7 @@ do_install() {
STAGING_LIBDIR=${STAGING_LIBDIR} \
STAGING_INCDIR=${STAGING_INCDIR} \
BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
- DESTDIR=${D} install
+ DESTDIR=${D} LIBDIR=${libdir} install
}
require python-${PYTHON_MAJMIN}-manifest.inc