unfs3: add support for compiling with the external librpc
[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 PKG_BUILD_PARALLEL:=1
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/rsync
24 SECTION:=net
25 CATEGORY:=Network
26 TITLE:=Fast remote file copy program (like rcp)
27 DEPENDS:=+libpopt
28 URL:=http://rsync.samba.org/
29 endef
30
31 define Package/rsync/description
32 rsync is a program that allows files to be copied to
33 and from remote machines in much the same way as rcp.
34 It has many more options than rcp, and uses the rsync
35 remote-update protocol to greatly speed up file
36 transfers when the destination file already exists.
37
38 The rsync remote-update protocol allows rsync to
39 transfer just the differences between two sets of files
40 across the network link.
41 endef
42
43 CONFIGURE_ARGS += \
44 --with-included-popt=no \
45 --disable-debug \
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_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
53 endef
54
55 $(eval $(call BuildPackage,rsync))