diff options
| author | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
| commit | b2f192faabe412adce79534e22efe9fb69ee40e2 (patch) | |
| tree | 7076c49d4286f8a1733650bd8fbc7161af200d57 /openembedded-extras/packages/python/python_2.4.3.bb | |
| parent | 2cf0eadf9f730027833af802d7e6c90b44248f80 (diff) | |
| download | poky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz | |
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded-extras/packages/python/python_2.4.3.bb')
| -rw-r--r-- | openembedded-extras/packages/python/python_2.4.3.bb | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/openembedded-extras/packages/python/python_2.4.3.bb b/openembedded-extras/packages/python/python_2.4.3.bb deleted file mode 100644 index 30ce73abe2..0000000000 --- a/openembedded-extras/packages/python/python_2.4.3.bb +++ /dev/null | |||
| @@ -1,70 +0,0 @@ | |||
| 1 | DESCRIPTION = "Python Programming Language" | ||
| 2 | HOMEPAGE = "http://www.python.org" | ||
| 3 | LICENSE = "PSF" | ||
| 4 | SECTION = "devel/python" | ||
| 5 | PRIORITY = "optional" | ||
| 6 | MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>" | ||
| 7 | DEPENDS = "python-native readline zlib gdbm openssl tcl tk" | ||
| 8 | DEPENDS_sharprom = "python-native readline zlib gdbm openssl" | ||
| 9 | PR = "ml3" | ||
| 10 | |||
| 11 | PYTHON_MAJMIN = "2.4" | ||
| 12 | |||
| 13 | SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \ | ||
| 14 | file://bindir-libdir.patch;patch=1 \ | ||
| 15 | file://crosscompile.patch;patch=1 \ | ||
| 16 | file://fix-tkinter-detection.patch;patch=1 \ | ||
| 17 | file://sitebranding.patch;patch=1" | ||
| 18 | S = "${WORKDIR}/Python-${PV}" | ||
| 19 | |||
| 20 | inherit autotools | ||
| 21 | |||
| 22 | EXTRA_OECONF = "--with-threads --with-pymalloc --with-cyclic-gc \ | ||
| 23 | --without-cxx --with-signal-module --with-wctype-functions \ | ||
| 24 | --enable-shared" | ||
| 25 | |||
| 26 | # | ||
| 27 | # copy config.h and an appropriate Makefile for distutils.sysconfig | ||
| 28 | # which laters uses the information out of these to compile extensions | ||
| 29 | # | ||
| 30 | do_compile_prepend() { | ||
| 31 | install -d ${STAGING_INCDIR}/python${PYTHON_MAJMIN}/ | ||
| 32 | install -d ${STAGING_LIBDIR}/python${PYTHON_MAJMIN}/config/ | ||
| 33 | install -m 0644 pyconfig.h ${STAGING_INCDIR}/python${PYTHON_MAJMIN}/ | ||
| 34 | install -m 0644 Makefile Makefile.orig | ||
| 35 | install -m 0644 Makefile Makefile.backup | ||
| 36 | sed -e 's,${includedir},${STAGING_INCDIR},' < Makefile.backup > Makefile | ||
| 37 | install -m 0644 Makefile Makefile.backup | ||
| 38 | sed -e 's,${libdir},${STAGING_LIBDIR},' < Makefile.backup > Makefile | ||
| 39 | install -m 0644 Makefile ${STAGING_LIBDIR}/python${PYTHON_MAJMIN}/config/ | ||
| 40 | } | ||
| 41 | |||
| 42 | do_compile() { | ||
| 43 | oe_runmake HOSTPGEN=${STAGING_BINDIR}/pgen \ | ||
| 44 | HOSTPYTHON=${STAGING_BINDIR}/python \ | ||
| 45 | STAGING_LIBDIR=${STAGING_LIBDIR} \ | ||
| 46 | STAGING_INCDIR=${STAGING_INCDIR} \ | ||
| 47 | BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} | ||
| 48 | } | ||
| 49 | |||
| 50 | do_stage() { | ||
| 51 | install -m 0644 Include/*.h ${STAGING_INCDIR}/python${PYTHON_MAJMIN}/ | ||
| 52 | oe_libinstall -a -so libpython2.4 ${STAGING_LIBDIR} | ||
| 53 | } | ||
| 54 | |||
| 55 | do_install() { | ||
| 56 | install -m 0644 Makefile.orig Makefile | ||
| 57 | oe_runmake HOSTPGEN=${STAGING_BINDIR}/pgen \ | ||
| 58 | HOSTPYTHON=${STAGING_BINDIR}/python \ | ||
| 59 | STAGING_LIBDIR=${STAGING_LIBDIR} \ | ||
| 60 | STAGING_INCDIR=${STAGING_INCDIR} \ | ||
| 61 | BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ | ||
| 62 | DESTDIR=${D} install | ||
| 63 | } | ||
| 64 | |||
| 65 | include python-${PV}-manifest.inc | ||
| 66 | |||
| 67 | RPROVIDES_python-core = "python" | ||
| 68 | RPROVIDES_python-curses = "python" | ||
| 69 | PACKAGES =+ "libpython2" | ||
| 70 | FILES_libpython2 = "${libdir}/libpython*" | ||
