#
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
include $(INCLUDE_DIR)/package.mk
-include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk)
-ifeq ($(DUMP)$(Build/Compile/PyMod),)
- $(error Python packaging code not found.)
-endif
define Package/twisted/default
+ SUBMENU:=Python
SECTION:=lang
CATEGORY:=Languages
- DEPENDS:=python-core
URL:=http://twistedmatrix.com/
+ DEPENDS:=python-core
endef
define Package/twisted/default/description
endef
define Build/Compile
+ $(if $(Build/Compile/PyMod),,@echo Python packaging code not found.; false)
$(call Build/Compile/PyMod,., \
install --prefix="$(PKG_INSTALL_DIR)/usr" --no-compile, \
TWISTED_SUBPROJECTS="$(TWISTED_SUBPROJECTS)" \