python-native_2.4.0.bb 888 B

12345678910111213141516171819202122232425262728293031
  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 = ""
  8. PR = "r0"
  9. EXCLUDE_FROM_WORLD = "1"
  10. SRC_URI = "http://www.python.org/ftp/python/2.4/Python-2.4.tar.bz2 \
  11. file://bindir-libdir.patch;patch=1 \
  12. file://cross-distutils.patch;patch=1"
  13. S = "${WORKDIR}/Python-2.4"
  14. inherit autotools native
  15. EXTRA_OECONF = "--with-threads --with-pymalloc --with-cyclic-gc --without-cxx --with-signal-module --with-wctype-functions \
  16. --with-prefix=${STAGING_DIR} --with-exec-prefix=${STAGING_DIR}/${BUILD_SYS}"
  17. EXTRA_OEMAKE = 'BUILD_SYS="" HOST_SYS=""'
  18. do_configure () {
  19. oe_runconf
  20. }
  21. do_stage_append() {
  22. # install pgen for later usage with non-native builds
  23. install Parser/pgen ${STAGING_DIR}/${BUILD_SYS}/bin/
  24. }