diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-10-12 21:10:52 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-10-12 21:10:52 +0200 |
commit | 681a668edf704bbb000a49c835b3d71fa7035d86 (patch) | |
tree | 27df7d51e37260f63812466b31369c1a144cdc45 /package/python/Makefile | |
parent | 2d1f73d4334593134d3a47704a2614ffcae384ae (diff) | |
parent | 6c2bc15eb5c40548f6a98c37ab0b825b9c163343 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
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 |