python packages cleanup, add some missing deps

git-svn-id: svn://svn.openwrt.org/openwrt/packages@12271 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2008-08-10 16:12:31 +00:00
parent db027cedd4
commit e8c24a7a92
13 changed files with 15 additions and 39 deletions

View File

@ -20,9 +20,6 @@ PKG_BUILD_DEPENDS:=python
include $(INCLUDE_DIR)/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/python-sqlite
SUBMENU:=Python
@ -44,6 +41,7 @@ define PyPackage/python-sqlite/filespec
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", \
)