summaryrefslogtreecommitdiff
path: root/package/python2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/python2/Makefile')
-rw-r--r--package/python2/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/package/python2/Makefile b/package/python2/Makefile
index 459e37eb5..4f8da7be3 100644
--- a/package/python2/Makefile
+++ b/package/python2/Makefile
@@ -4,9 +4,9 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= python2
-PKG_VERSION:= 2.6.4
+PKG_VERSION:= 2.7
PKG_RELEASE:= 1
-PKG_MD5SUM:= 17dcac33e4f3adb69a57c2607b6de246
+PKG_MD5SUM:= 35f56b092ecf39a6bd59d64f142aae0f
PKG_DESCR:= Python scripting language (Version 2)
PKG_SECTION:= lang
PKG_URL:= http://www.python.org/
@@ -27,7 +27,8 @@ MAKE_ENV+= OPT="$(TARGET_CFLAGS)" \
HOSTPYTHON=./hostpython \
HOSTPGEN=./Parser/hostpgen \
PYTHON_DISABLE_MODULES="$(DISMOD)"
-CONFIGURE_ENV+= OPT="$(TARGET_CFLAGS)"
+CONFIGURE_ENV+= OPT="$(TARGET_CFLAGS)" \
+ ac_cv_have_long_long_format=yes
CONFIGURE_ARGS:= --with-threads \
--with-system-ffi \
--without-cxx-main
@@ -47,10 +48,12 @@ pre-configure:
post-install:
${INSTALL_DIR} ${IDIR_PYTHON2}/usr/bin ${IDIR_PYTHON2}/usr/lib
- ${INSTALL_DIR} ${IDIR_PYTHON2}/usr/lib/python2.6
+ ${INSTALL_DIR} ${IDIR_PYTHON2}/usr/lib/python2.7
+ ${INSTALL_DIR} ${IDIR_PYTHON2}/usr/include/python2.7
${INSTALL_BIN} ${WRKINST}/usr/bin/python ${IDIR_PYTHON2}/usr/bin
${CP} ${WRKINST}/usr/lib/libpython*.so* ${IDIR_PYTHON2}/usr/lib
- ${CP} ${WRKINST}/usr/lib/python2.6/* ${IDIR_PYTHON2}/usr/lib/python2.6
+ ${CP} ${WRKINST}/usr/lib/python2.7/* ${IDIR_PYTHON2}/usr/lib/python2.7
+ ${CP} ${WRKINST}/usr/include/python2.7/* ${IDIR_PYTHON2}/usr/include/python2.7
-find ${IDIR_PYTHON2} -name \*.pyo -exec rm {} \;
include ${TOPDIR}/mk/pkg-bottom.mk