Changeset 28426


Ignore:
Timestamp:
2011-10-12T08:50:00+02:00 (6 years ago)
Author:
nico
Message:

[packages] twisted: add build dependency on librpc on uClibc, fix PyMod compilation, unmark as broken

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/lang/twisted/Makefile

    r20404 r28426  
    11#  
    2 # Copyright (C) 2006-2008 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1717 
    1818PKG_BUILD_DIR:=$(BUILD_DIR)/Twisted-$(PKG_VERSION) 
    19 PKG_BUILD_DEPENDS:=python 
     19PKG_BUILD_DEPENDS:=python USE_UCLIBC:librpc 
    2020 
    2121include $(INCLUDE_DIR)/package.mk 
     
    2727  CATEGORY:=Languages 
    2828  URL:=http://twistedmatrix.com/ 
    29   DEPENDS:=+python-mini @BROKEN 
     29  DEPENDS:=+python-mini 
    3030endef 
    3131 
     
    217217        $(if $(Build/Compile/PyMod),,@echo Python packaging code not found.; false) 
    218218        $(call Build/Compile/PyMod,., \ 
    219                 install --prefix="$(PKG_INSTALL_DIR)/usr" --no-compile, \ 
     219                install --prefix="/usr" --root="$(PKG_INSTALL_DIR)" --no-compile, \ 
    220220                TWISTED_SUBPROJECTS="$(TWISTED_SUBPROJECTS)" \ 
    221                 PYTHONPATH="$(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)" \ 
    222221        ) 
    223222        $(call Build/Compile/PyMod,zope.interface-$(ZOPE_IF_VER), \ 
    224                 install --prefix="$(PKG_INSTALL_DIR)/usr" --no-compile, \ 
    225                 PYTHONPATH="$(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)" \ 
     223                install --prefix="/usr" --root="$(PKG_INSTALL_DIR)" --no-compile, \ 
    226224        ) 
    227225        $(SED) 's,#!$(PYTHON),#!/usr/bin/python,' $(PKG_INSTALL_DIR)/usr/bin/* 
    228  
    229         $(CP) -a \ 
    230                 $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/zope.interface-*.egg/zope \ 
    231                 $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/ 
    232226endef 
    233227 
Note: See TracChangeset for help on using the changeset viewer.