nuke $Id$ in /packages as well
[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 #
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=rsync
12 PKG_VERSION:=3.0.3
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:=16d41aab9ece435198af222c5415a304
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         sync 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-ipv6 \
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_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
52 endef
53
54 $(eval $(call BuildPackage,rsync))