diff options
Diffstat (limited to 'package/python/Makefile')
-rw-r--r-- | package/python/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/package/python/Makefile b/package/python/Makefile index 4c6cc4428..993dcb034 100644 --- a/package/python/Makefile +++ b/package/python/Makefile @@ -4,11 +4,12 @@ include ${TOPDIR}/rules.mk PKG_NAME:= python -PKG_VERSION:= 3.2 +PKG_VERSION:= 3.2.2 PKG_RELEASE:= 1 -PKG_MD5SUM:= f1317dbb2398374d6691edd5bff1b91d +PKG_MD5SUM:= 3c63a6d97333f4da35976b6a0755eb67 PKG_DESCR:= Python scripting language (Version 3) PKG_SECTION:= lang +PKG_DEPENDS:= libpthread PKG_URL:= http://www.python.org/ PKG_SITES:= http://www.python.org/ftp/python/${PKG_VERSION}/ @@ -21,13 +22,16 @@ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,PYTHON,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +# disable honour cflags stuff +XAKE_FLAGS+= GCC_HONOUR_COPTS=s + MAKE_ENV+= OPT="$(TARGET_CFLAGS)" \ HOSTPYTHON=./hostpython \ HOSTPGEN=./Parser/hostpgen -CONFIGURE_ENV+= OPT="$(TARGET_CFLAGS)" CONFIGURE_ARGS:= --with-threads \ --with-system-ffi \ --without-cxx-main +CONFIGURE_ENV+= ac_cv_have_long_long_format=yes post-extract: (cd ${WRKBUILD}; rm -rf config.{cache,status} ; \ @@ -49,9 +53,11 @@ pre-configure: post-install: ${INSTALL_DIR} ${IDIR_PYTHON}/usr/bin ${IDIR_PYTHON}/usr/lib ${INSTALL_DIR} ${IDIR_PYTHON}/usr/lib/python3.2 + ${INSTALL_DIR} ${IDIR_PYTHON}/usr/include/python3.2m ${INSTALL_BIN} ${WRKINST}/usr/bin/python3 ${IDIR_PYTHON}/usr/bin ${CP} ${WRKINST}/usr/lib/libpython*.so* ${IDIR_PYTHON}/usr/lib cd ${IDIR_PYTHON}/usr/bin && ln -s python3 python ${CP} ${WRKINST}/usr/lib/python3.2/* ${IDIR_PYTHON}/usr/lib/python3.2 + ${CP} ${WRKINST}/usr/include/python3.2m/* ${IDIR_PYTHON}/usr/include/python3.2m include ${TOPDIR}/mk/pkg-bottom.mk |