[package] update rsync to 3.0.6 (#5644)
[openwrt/svn-archive/archive.git] / net / rsync / Makefile
1 #
2 # Copyright (C) 2007-2009 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
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=rsync
12 PKG_VERSION:=3.0.6
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://rsync.samba.org/ftp/rsync
17 PKG_MD5SUM:=e9865d093a18e4668b9d31b635dc8e99
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/rsync
22 SECTION:=net
23 CATEGORY:=Network
24 TITLE:=Fast remote file copy program (like rcp)
25 DEPENDS:=+libpopt
26 URL:=http://rsync.samba.org/
27 endef
28
29 define Package/rsync/description
30 rsync is a program that allows files to be copied to
31 and from remote machines in much the same way as rcp.
32 It has many more options than rcp, and uses the rsync
33 remote-update protocol to greatly speed up file
34 transfers when the destination file already exists.
35
36 The rsync remote-update protocol allows rsync to
37 transfer just the differences between two sets of files
38 across the network link.
39 endef
40
41 CONFIGURE_ARGS += \
42 --with-included-popt=no \
43 --disable-debug \
44 --disable-locale \
45 --disable-xattr-support \
46 --disable-acl-support \
47
48 define Package/rsync/install
49 $(INSTALL_DIR) $(1)/usr/bin
50 $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
51 endef
52
53 $(eval $(call BuildPackage,rsync))