2 # Copyright (C) 2012 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/rsyncrypto
16 PKG_MD5SUM:=62367d5458ceaab58bbe73030880f538
20 include $(INCLUDE_DIR)/package.mk
22 define Package/rsyncrypto
25 TITLE:=Rsync friendly encryption
26 URL:=http://rsyncrypto.lingnu.com/
27 DEPENDS:=+argtable +gzip +libopenssl +libstdcpp
30 define Package/rsyncrypto/description
31 rsyncrypto is a utility that encrypts a file (or a directory structure) in a
32 way that ensures that local changes to the plain text file will result in
33 local changes to the cipher text file. This, in turn, ensures that doing rsync
34 to synchronize the encrypted files to another machine will have only a small
35 impact on rsync's efficiency.
39 --with-openssl="$(STAGING_DIR)/usr"
41 define Package/rsyncrypto/install
42 $(INSTALL_DIR) $(1)/usr/bin
43 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/rsyncrypto $(1)/usr/bin/
46 $(eval $(call BuildPackage,rsyncrypto))