|
|
@ -126,13 +126,13 @@ endef |
|
|
|
define Package/python-readline |
|
|
|
$(call Package/python/Default) |
|
|
|
TITLE:=Python support for readline |
|
|
|
DEPENDS:=@PACKAGE_python +PACKAGE_python:python +libreadline +libncurses @BROKEN |
|
|
|
DEPENDS:=@PACKAGE_python +PACKAGE_python:python +libreadline +libncursesw @BROKEN |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/python-ncurses |
|
|
|
$(call Package/python/Default) |
|
|
|
TITLE:=Python support for readline |
|
|
|
DEPENDS:=@PACKAGE_python +PACKAGE_python:python +libncurses |
|
|
|
DEPENDS:=@PACKAGE_python +PACKAGE_python:python +libncursesw |
|
|
|
endef |
|
|
|
|
|
|
|
MAKE_FLAGS:=\
|
|
|
@ -140,7 +140,7 @@ MAKE_FLAGS:=\ |
|
|
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
|
|
|
CROSS_COMPILE=yes \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS) -DNDEBUG -fno-inline" \
|
|
|
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
|
|
|
LDFLAGS="$(TARGET_LDFLAGS) -L$(PKG_BUILD_DIR)" \
|
|
|
|
LD="$(TARGET_CC)" \
|
|
|
|
PGEN=pgen2 |
|
|
|
|
|
|
@ -155,7 +155,7 @@ define Build/Configure |
|
|
|
$(CP) ./files/config.site $(PKG_BUILD_DIR) |
|
|
|
$(call Build/Configure/Default, \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--disable-shared \
|
|
|
|
--enable-shared \
|
|
|
|
--without-cxx-main \
|
|
|
|
--with-threads \
|
|
|
|
--with-system-ffi="$(STAGING_DIR)/usr" \
|
|
|
@ -176,7 +176,7 @@ define Build/InstallDev |
|
|
|
$(1)/usr/include/ |
|
|
|
$(CP) \
|
|
|
|
$(STAGING_DIR_HOST)/lib/python$(PYTHON_VERSION) \
|
|
|
|
$(PKG_BUILD_DIR)/libpython$(PYTHON_VERSION).a \
|
|
|
|
$(PKG_BUILD_DIR)/libpython$(PYTHON_VERSION).so* \
|
|
|
|
$(1)/usr/lib/ |
|
|
|
$(CP) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/lib/python$(PYTHON_VERSION)/config \
|
|
|
@ -384,12 +384,12 @@ define PyPackage/python/filespec |
|
|
|
+|/usr/lib/python$(PYTHON_VERSION)/lib-dynload/_heapq.so |
|
|
|
+|/usr/lib/python$(PYTHON_VERSION)/bisect.py |
|
|
|
+|/usr/lib/python$(PYTHON_VERSION)/lib-dynload/_bisect.so |
|
|
|
+|/usr/include/python$(PYTHON_VERSION)/pyconfig.h |
|
|
|
endef |
|
|
|
|
|
|
|
define PyPackage/python/install |
|
|
|
$(LN) python$(PYTHON_VERSION) $(1)/usr/bin/python |
|
|
|
$(LN) python$(PYTHON_VERSION) $(1)/usr/bin/python2 |
|
|
|
$(CP) $(PKG_BUILD_DIR)/libpython$(PYTHON_VERSION).so* $(1)/usr/lib/ |
|
|
|
endef |
|
|
|
|
|
|
|
define PyPackage/python-doc/filespec |
|
|
|