X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=net%2Frsync%2FMakefile;h=7571daaadf3647b455ab339b98ec1cf4003f6d7e;hp=a1170f6f2dd4a45333b9ba6484027ec4e1e883d4;hb=bfb135c40e9c2fed203a7b813bf107c1b4c368ae;hpb=23c11105f000fb6409910c6c8b2b5cc2403ca904 diff --git a/net/rsync/Makefile b/net/rsync/Makefile index a1170f6f2d..7571daaadf 100644 --- a/net/rsync/Makefile +++ b/net/rsync/Makefile @@ -6,10 +6,12 @@ # # $Id$ # + include $(TOPDIR)/rules.mk PKG_NAME:=rsync PKG_VERSION:=2.6.9 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://rsync.samba.org/ftp/rsync @@ -20,22 +22,28 @@ include $(INCLUDE_DIR)/package.mk define Package/rsync SECTION:=net CATEGORY:=Network - TITLE:=fast incremental file transfer + TITLE:=Fast remote file copy program (like rcp) URL:=http://rsync.samba.org/ endef -define Build/Compile - $(call Build/Compile/Default, \ - PREFIX="/usr" \ - ) +define Package/rsync/description + sync is a program that allows files to be copied to + and from remote machines in much the same way as rcp. + It has many more options than rcp, and uses the rsync + remote-update protocol to greatly speed up file + transfers when the destination file already exists. + + The rsync remote-update protocol allows rsync to + transfer just the differences between two sets of files + across the network link. endef +MAKE_FLAGS += \ + PREFIX="/usr" \ + define Package/rsync/install - $(MAKE) -C $(PKG_BUILD_DIR) \ - DESTDIR="$(1)" \ - PREFIX="/usr" \ - install-strip - rm -rf $(1)/usr/man + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/ endef $(eval $(call BuildPackage,rsync))