dmidecode: moved to github
[packages.git] / utils / rsyncrypto / Makefile
1 #
2 # Copyright (C) 2012 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=rsyncrypto
11 PKG_VERSION:=1.12
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/rsyncrypto
16 PKG_MD5SUM:=62367d5458ceaab58bbe73030880f538
17
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/rsyncrypto
23   SECTION:=utils
24   CATEGORY:=Utilities
25   TITLE:=Rsync friendly encryption
26   URL:=http://rsyncrypto.lingnu.com/
27   DEPENDS:=+argtable +gzip +libopenssl +libstdcpp
28 endef
29
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.
36 endef
37
38 CONFIGURE_ARGS += \
39         --with-openssl="$(STAGING_DIR)/usr"
40
41 define Package/rsyncrypto/install
42         $(INSTALL_DIR) $(1)/usr/bin
43         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/rsyncrypto $(1)/usr/bin/
44 endef
45
46 $(eval $(call BuildPackage,rsyncrypto))