diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-24 16:36:52 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-24 16:36:52 +0200 |
commit | 82cce6038c7fc05bf1107613fc4b5d3ba8aceb83 (patch) | |
tree | 3ed19c48bfe55c1a95e7e34ec7798fb13a23922f /package/python2 | |
parent | 24092f8e8b58464e33d163d8dee9e864895b50a5 (diff) | |
parent | ba1dbc96f36abce072ac39a33bb0bd85e12a4e97 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/python2')
-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 c020e645d..b97266468 100644 --- a/package/python2/Makefile +++ b/package/python2/Makefile @@ -13,7 +13,7 @@ PKG_BUILDDEP:= zlib libffi openssl readline bzip2 PKG_DEPENDS:= libpthread zlib libffi libopenssl libgcc PKG_URL:= http://www.python.org/ PKG_SITES:= http://www.python.org/ftp/python/${PKG_VERSION}/ -PKG_OPTS:= noscripts +PKG_OPTS:= dev noscripts PKG_HOST_DEPENDS:= !netbsd !openbsd @@ -27,8 +27,8 @@ PKGSS_PYTHON2_BZIP2:= bzip2 include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,PYTHON2,python2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) -$(eval $(call PKG_template,PYTHON2_BZIP2,python2-bzip2,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_PYTHON2_BZIP2},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) -$(eval $(call PKG_template,PYTHON2_READLINE,python2-readline,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_PYTHON2_READLINE},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) +$(eval $(call PKG_template,PYTHON2_BZIP2,python2-bzip2,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_PYTHON2_BZIP2},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,PYTHON2_READLINE,python2-readline,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_PYTHON2_READLINE},${PKG_DESCR},${PKG_SECTION})) ifeq ($(ADK_HOST_CYGWIN),y) EXE:= .exe @@ -79,7 +79,8 @@ python2-install: ${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.7/* ${IDIR_PYTHON2}/usr/lib/python2.7 - ${CP} ${WRKINST}/usr/include/python2.7/* ${IDIR_PYTHON2}/usr/include/python2.7 + ${CP} ${WRKINST}/usr/include/python2.7/pyconfig.h \ + ${IDIR_PYTHON2}/usr/include/python2.7 -find ${IDIR_PYTHON2} -name "\*.pyc" -o -name "*\.pyo" -exec rm {} \; -rm ${IDIR_PYTHON2}/usr/lib/python2.7/lib-dynload/readline.so -rm ${IDIR_PYTHON2}/usr/lib/python2.7/lib-dynload/bz2.so |