Upgrade rsync to 3.0.3 (#3705)
[packages.git] / net / rsync / Makefile
1 #
2 # Copyright (C) 2007-2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8 #
9
10 include $(TOPDIR)/rules.mk
11
12 PKG_NAME:=rsync
13 PKG_VERSION:=3.0.3
14 PKG_RELEASE:=1
15
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
17 PKG_SOURCE_URL:=http://rsync.samba.org/ftp/rsync
18 PKG_MD5SUM:=16d41aab9ece435198af222c5415a304
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         sync 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-ipv6 \
46         --disable-locale \
47         --disable-xattr-support \
48         --disable-acl-support \
49
50 define Package/rsync/install
51         $(INSTALL_DIR) $(1)/usr/bin
52         $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
53 endef
54
55 $(eval $(call BuildPackage,rsync))