source: packages/utils/rsyncrypto/Makefile @ 30621

Last change on this file since 30621 was 30621, checked in by swalker, 4 years ago

[packages] rsyncrypto: add rsyncrypto, a rsync friendly encryption util (#8172)

File size: 1.2 KB
Line 
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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=rsyncrypto
11PKG_VERSION:=1.12
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=@SF/rsyncrypto
16PKG_MD5SUM:=62367d5458ceaab58bbe73030880f538
17
18PKG_INSTALL:=1
19
20include $(INCLUDE_DIR)/package.mk
21
22define 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
28endef
29
30define 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.
36endef
37
38CONFIGURE_ARGS += \
39        --with-openssl="$(STAGING_DIR)/usr"
40
41define Package/rsyncrypto/install
42        $(INSTALL_DIR) $(1)/usr/bin
43        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/rsyncrypto $(1)/usr/bin/
44endef
45
46$(eval $(call BuildPackage,rsyncrypto))
Note: See TracBrowser for help on using the repository browser.