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