fix up downloading in python packages

git-svn-id: svn://svn.openwrt.org/openwrt/packages@9427 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-10-24 15:58:19 +00:00
parent 4c1909668f
commit 312331dcf2
11 changed files with 26 additions and 20 deletions

View File

@ -21,8 +21,8 @@ PKG_BUILD_DEPENDS:=python
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.)
ifneq ($(MAKECMDGOALS),download)
$(if $(DUMP)$(Build/Compile/PyMod),,$(error Python packaging code not found.))
endif
define Package/python-egenix-mx

View File

@ -19,8 +19,8 @@ PKG_BUILD_DEPENDS:=python
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.)
ifneq ($(MAKECMDGOALS),download)
$(if $(DUMP)$(Build/Compile/PyMod),,$(error Python packaging code not found.))
endif
define Package/python-kid

View File

@ -19,8 +19,8 @@ PKG_BUILD_DEPENDS:=python
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.)
ifneq ($(MAKECMDGOALS),download)
$(if $(DUMP)$(Build/Compile/PyMod),,$(error Python packaging code not found.))
endif
define Package/python-psycopg

View File

@ -19,8 +19,8 @@ PKG_BUILD_DEPENDS:=python
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.)
ifneq ($(MAKECMDGOALS),download)
$(if $(DUMP)$(Build/Compile/PyMod),,$(error Python packaging code not found.))
endif
define Package/python-event

View File

@ -19,8 +19,8 @@ PKG_BUILD_DEPENDS:=python
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.)
ifneq ($(MAKECMDGOALS),download)
$(if $(DUMP)$(Build/Compile/PyMod),,$(error Python packaging code not found.))
endif
define Package/python-mysql

View File

@ -19,8 +19,8 @@ PKG_BUILD_DEPENDS:=python
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.)
ifneq ($(MAKECMDGOALS),download)
$(if $(DUMP)$(Build/Compile/PyMod),,$(error Python packaging code not found.))
endif
define Package/python-pcap

View File

@ -19,8 +19,8 @@ PKG_BUILD_DEPENDS:=python
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.)
ifneq ($(MAKECMDGOALS),download)
$(if $(DUMP)$(Build/Compile/PyMod),,$(error Python packaging code not found.))
endif
define Package/python-sqlite

View File

@ -21,8 +21,8 @@ PKG_BUILD_DEPENDS:=python
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.)
ifneq ($(MAKECMDGOALS),download)
$(if $(DUMP)$(Build/Compile/PyMod),,$(error Python packaging code not found.))
endif
define Package/twisted/default

View File

@ -19,8 +19,8 @@ PKG_BUILD_DEPENDS:=python
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.)
ifneq ($(MAKECMDGOALS),download)
$(if $(DUMP)$(Build/Compile/PyMod),,$(error Python packaging code not found.))
endif
define Package/python-yapsnmp

View File

@ -17,7 +17,10 @@ PKG_SOURCE_URL:=http://savannah.nongnu.org/download/rdiff-backup/
PKG_MD5SUM:=756b38aaf2602d097cafd08996fb7887
include $(INCLUDE_DIR)/package.mk
-include $(TOPDIR)/package/python/python-package.mk
-include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk)
ifneq ($(MAKECMDGOALS),download)
$(if $(DUMP)$(Build/Compile/PyMod),,$(error Python packaging code not found.))
endif
define PyPackage/rdiff-backup
SECTION:=utils

View File

@ -19,7 +19,10 @@ PKG_MD5SUM:=dafa161bc9c61e57636a6085c87c1fe8
PKG_BUILD_DEPENDS:=libnotimpl python-core
include $(INCLUDE_DIR)/package.mk
-include $(if $(DUMP),,./python-package.mk)
-include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk)
ifneq ($(MAKECMDGOALS),download)
$(if $(DUMP)$(Build/Compile/PyMod),,$(error Python packaging code not found.))
endif
define Package/rrdtool/Default
SECTION:=utils