diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-12-14 20:36:15 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-12-14 20:36:15 +0100 |
commit | 540ca543451de3afe658b09bfb85e54344d34f45 (patch) | |
tree | dda34db5e3669a3ffbaf959162229d630e88bbae /package/python2/Makefile | |
parent | 44e2a7e9a5c820b56c46b371c00a10ae165d07bc (diff) |
fix python-config to use target include dir
Diffstat (limited to 'package/python2/Makefile')
-rw-r--r-- | package/python2/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/package/python2/Makefile b/package/python2/Makefile index 3f24b5b5d..9785db316 100644 --- a/package/python2/Makefile +++ b/package/python2/Makefile @@ -4,9 +4,9 @@ include ${TOPDIR}/rules.mk PKG_NAME:= python2 -PKG_VERSION:= 2.7 -PKG_RELEASE:= 5 -PKG_MD5SUM:= 35f56b092ecf39a6bd59d64f142aae0f +PKG_VERSION:= 2.7.1 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 15ed56733655e3fab785e49a7278d2fb PKG_DESCR:= Python scripting language (Version 2) PKG_SECTION:= lang PKG_DEPENDS:= libpthread zlib libffi @@ -35,6 +35,7 @@ CONFIGURE_ARGS:= --with-threads \ --without-cxx-main post-extract: + $(CP) ./files/python-config.in ${WRKBUILD}/Misc/python-config.in (cd ${WRKBUILD}; rm -rf config.{cache,status} ; \ OPT="$(HOSTCFLAGS)" \ ./configure --without-cxx-main --without-threads \ @@ -59,6 +60,6 @@ post-install: ${CP} ${WRKINST}/usr/lib/libpython*.so* ${IDIR_PYTHON2}/usr/lib ${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 {} \; + -find ${IDIR_PYTHON2} -name "\*.pyc" -o -name "*\.pyo" -exec rm {} \; include ${TOPDIR}/mk/pkg-bottom.mk |