add dependencies on python, move to Python submenu
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10826 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3e4758c284
commit
06b500f38d
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2008 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -16,18 +16,21 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|||||||
PKG_SOURCE_URL:=http://savannah.nongnu.org/download/rdiff-backup/
|
PKG_SOURCE_URL:=http://savannah.nongnu.org/download/rdiff-backup/
|
||||||
PKG_MD5SUM:=756b38aaf2602d097cafd08996fb7887
|
PKG_MD5SUM:=756b38aaf2602d097cafd08996fb7887
|
||||||
|
|
||||||
|
PKG_BUILD_DEPENDS:=python
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
-include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk)
|
-include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk)
|
||||||
ifneq ($(MAKECMDGOALS),download)
|
ifneq ($(MAKECMDGOALS),download)
|
||||||
$(if $(DUMP)$(Build/Compile/PyMod),,$(error Python packaging code not found.))
|
$(if $(DUMP)$(Build/Compile/PyMod),,$(error Python packaging code not found.))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
define PyPackage/rdiff-backup
|
define Package/rdiff-backup
|
||||||
SECTION:=utils
|
SUBMENU:=Python
|
||||||
CATEGORY:=Utilities
|
SECTION:=lang
|
||||||
|
CATEGORY:=Languages
|
||||||
TITLE:=Incremental backup utility
|
TITLE:=Incremental backup utility
|
||||||
URL:=http://www.nongnu.org/rdiff-backup
|
URL:=http://www.nongnu.org/rdiff-backup
|
||||||
DEPENDS+= +librsync
|
DEPENDS:=python-core +librsync
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define PyPackage/rdiff-backup/filespec
|
define PyPackage/rdiff-backup/filespec
|
||||||
@ -45,3 +48,4 @@ define Build/Compile
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call PyPackage,rdiff-backup))
|
$(eval $(call PyPackage,rdiff-backup))
|
||||||
|
$(eval $(call BuildPackage,rdiff-backup))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user