2006-11-02 19:54:51 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
2007-03-04 04:19:46 +00:00
|
|
|
# $Id$
|
2006-11-02 19:54:51 +00:00
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=rdiff-backup
|
|
|
|
PKG_VERSION:=1.0.4
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://savannah.nongnu.org/download/rdiff-backup/
|
|
|
|
PKG_MD5SUM:=756b38aaf2602d097cafd08996fb7887
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2007-09-06 03:47:43 +00:00
|
|
|
-include $(TOPDIR)/package/python/python-package.mk
|
2006-11-02 19:54:51 +00:00
|
|
|
|
2007-09-06 03:47:43 +00:00
|
|
|
define PyPackage/rdiff-backup
|
2006-11-02 19:54:51 +00:00
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
|
|
|
TITLE:=Incremental backup utility
|
|
|
|
URL:=http://www.nongnu.org/rdiff-backup
|
2007-09-06 03:47:43 +00:00
|
|
|
DEPENDS+= +librsync
|
2006-11-02 19:54:51 +00:00
|
|
|
endef
|
|
|
|
|
2007-09-06 03:47:43 +00:00
|
|
|
define PyPackage/rdiff-backup/filespec
|
|
|
|
+|/usr/bin/rdiff-backup
|
|
|
|
+|$(PYTHON_PKG_DIR)/rdiff_backup
|
2006-11-02 19:54:51 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
2007-09-06 03:47:43 +00:00
|
|
|
$(call Build/Compile/PyMod,., \
|
|
|
|
build --librsync-dir="$(STAGING_DIR)/usr" , \
|
|
|
|
)
|
|
|
|
$(call Build/Compile/PyMod,., \
|
|
|
|
install --prefix="$(PKG_INSTALL_DIR)/usr", \
|
|
|
|
)
|
2006-11-02 19:54:51 +00:00
|
|
|
endef
|
|
|
|
|
2007-09-06 03:47:43 +00:00
|
|
|
$(eval $(call PyPackage,rdiff-backup))
|