source: packages/net/rsync/Makefile @ 26634

Last change on this file since 26634 was 26634, checked in by acinonyx, 5 years ago

[packages] rsync: Update copyright notice date

File size: 1.5 KB
Line 
1#
2# Copyright (C) 2007-2011 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=rsync
11PKG_VERSION:=3.0.8
12PKG_RELEASE:=2
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://rsync.samba.org/ftp/rsync/src
16PKG_MD5SUM:=0ee8346ce16bdfe4c88a236e94c752b4
17
18PKG_INSTALL:=1
19PKG_BUILD_PARALLEL:=1
20
21include $(INCLUDE_DIR)/package.mk
22
23define Package/rsync
24  SECTION:=net
25  CATEGORY:=Network
26  SUBMENU:=File Transfer
27  TITLE:=Fast remote file copy program (like rcp)
28  DEPENDS:=+libpopt
29  URL:=http://rsync.samba.org/
30endef
31
32define Package/rsync/description
33        rsync is a program that allows files to be copied to
34        and from remote machines in much the same way as rcp.
35        It has many more options than rcp, and uses the rsync
36        remote-update protocol to greatly speed up file
37        transfers when the destination file already exists.
38
39        The rsync remote-update protocol allows rsync to
40        transfer just the differences between two sets of files
41        across the network link.
42endef
43
44CONFIGURE_ARGS += \
45        --with-included-popt=no \
46        --disable-debug \
47        --disable-locale \
48        --disable-xattr-support \
49        --disable-acl-support \
50
51define Package/rsync/install
52        $(INSTALL_DIR) $(1)/etc
53        $(INSTALL_DATA) ./files/rsyncd.conf $(1)/etc/
54        $(INSTALL_DIR) $(1)/etc/init.d
55        $(INSTALL_BIN) ./files/rsyncd.init $(1)/etc/init.d/rsyncd
56        $(INSTALL_DIR) $(1)/usr/bin
57        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
58endef
59
60$(eval $(call BuildPackage,rsync))
Note: See TracBrowser for help on using the repository browser.