All pastes #17377 Raw Edit

Stuff

public text v1 · immutable
#17377 ·published 2005-07-10 15:58 UTC
rendered paste body
diff -Naur openembedded_org/packages/python/python-2.3.4-manifest.inc openembedded/packages/python/python-2.3.4-manifest.inc
--- openembedded_org/packages/python/python-2.3.4-manifest.inc  2005-06-28 13:51:49.000000000 +0200
+++ openembedded/packages/python/python-2.3.4-manifest.inc      2005-06-16 00:56:51.000000000 +0200
@@ -4,7 +4,7 @@
 ###


-PACKAGES="python-codecs python-threading python-distutils python-textutils python-curses python-pickle python-core python-io python-compression python-re python-xmlrpc python-terminal python-email py
thon-image python-resource python-math python-hotshot python-unixadmin python-gdbm python-fcntl python-netclient python-pprint python-netserver python-compiler python-syslog python-html python-readlin
e python-pydoc python-xml python-mime python-unittest python-stringold python-compile python-shell python-mmap python-zlib python-db python-crypt python-lang python-audio "
+PACKAGES="python-codecs python-threading python-distutils python-textutils python-curses python-pickle python-core python-io python-compression python-re python-xmlrpc python-terminal python-email py
thon-image python-resource python-math python-hotshot python-unixadmin python-gdbm python-fcntl python-netclient python-pprint python-netserver python-compiler python-syslog python-html python-readlin
e python-pydoc python-xml python-mime python-unittest python-stringold python-compile python-shell python-mmap python-zlib python-db python-crypt python-lang python-audio python-lib "

 DESCRIPTION_python-codecs="Python Codecs, Encodings & i18n Support"
 PR_python-codecs="ml2"
@@ -206,5 +206,9 @@
 RDEPENDS_python-audio="python-core"
 FILES_python-audio="${libdir}/python2.3/wave.* ${libdir}/python2.3/chunk.* ${libdir}/python2.3/lib-dynload/ossaudiodev.so ${libdir}/python2.3/lib-dynload/audioop.so "

+DESCRIPTION_python-lib="Python Shared Libraries"
+PR_python-lib="ml2"
+RDEPENDS_python-lib="python-core"
+FILES_python-lib="${libdir}/libpython* "


diff -Naur openembedded_org/packages/python/python_2.3.4.bb openembedded/packages/python/python_2.3.4.bb
--- openembedded_org/packages/python/python_2.3.4.bb    2005-06-28 13:51:49.000000000 +0200
+++ openembedded/packages/python/python_2.3.4.bb        2005-06-16 00:56:51.000000000 +0200
@@ -14,7 +14,7 @@

 inherit autotools

-EXTRA_OECONF = "--with-threads --with-pymalloc --with-cyclic-gc --without-cxx --with-signal-module --with-wctype-functions"
+EXTRA_OECONF = "--with-threads --with-pymalloc --with-cyclic-gc --with-signal-module --with-wctype-functions --enable-shared"

 #
 # copy config.h and an appropriate Makefile for distutils.sysconfig
@@ -42,6 +42,8 @@

 do_stage() {
        install -m 0644 Include/*.h ${STAGING_INCDIR}/python2.3/
+       oe_libinstall -so libpython2.3 ${STAGING_LIBDIR}
+       ln -sf libpython2.3.so ${STAGING_LIBDIR}/libpython.so
 }

 do_install() {