summaryrefslogtreecommitdiff
path: root/classes/kernel-arch.bbclass
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2005-09-28 11:32:34 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-28 11:32:34 +0000
commitb18daa123e767a31de025bc34266d01ed1ef4878 (patch)
tree304aa397634aab35d4c1e82b0b8f6c382338802d /classes/kernel-arch.bbclass
parent330298f2add1e08ccaec822a439405b26284cc06 (diff)
meta-opie: add BT and WiFi tools to task-opie-base
Fixed: opie-image which lack BT/WiFi tools
Diffstat (limited to 'classes/kernel-arch.bbclass')
0 files changed, 0 insertions, 0 deletions
ref='#n89'>89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
require python.inc
DEPENDS = "python-native db gdbm openssl readline sqlite3 tcl tk zlib"
DEPENDS_sharprom = "python-native db readline zlib gdbm openssl"

SRC_URI = "\
  http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \
  file://00-fix-bindir-libdir-for-cross.patch;patch=1 \
  file://01-use-proper-tools-for-cross-build.patch;patch=1 \
  file://02-remove-test-for-cross.patch;patch=1 \
  file://03-fix-tkinter-detection.patch;patch=1 \
  file://04-default-is-optimized.patch;patch=1 \
  file://05-enable-ctypes-cross-build.patch;patch=1 \
  \
# not yet pushed forward
# sitecustomize, sitebranding
  \
#  file://05-install.patch;patch=1 \
#  file://06-fix-urllib-exception.patch;patch=1 \
#  file://16-bug1179-imageop.patch;patch=1 \
#  file://13-set-wakeup-fix.patch;patch=1 \
  \
  file://sitecustomize.py \
"
S = "${WORKDIR}/Python-${PV}"

inherit autotools

#
# copy config.h and an appropriate Makefile for distutils.sysconfig
# which laters uses the information out of these to compile extensions
#
do_compile_prepend() {
	install -d ${STAGING_INCDIR}/python${PYTHON_MAJMIN}/
	install -d ${STAGING_LIBDIR}/python${PYTHON_MAJMIN}/config/
	install -m 0644 pyconfig.h ${STAGING_INCDIR}/python${PYTHON_MAJMIN}/
	install -m 0644 Makefile Makefile.orig
	install -m 0644 Makefile Makefile.backup
	sed -e 's,${includedir},${STAGING_INCDIR},' < Makefile.backup > Makefile
	install -m 0644 Makefile Makefile.backup
	sed -e 's,${libdir},${STAGING_LIBDIR},' < Makefile.backup > Makefile
	install -m 0644 Makefile ${STAGING_LIBDIR}/python${PYTHON_MAJMIN}/config/
}