2 # Copyright (C) 2006-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@SF
/librsync
16 PKG_MD5SUM
:=24cdb6b78f45e0e83766903fd4f6bc84
21 include $(INCLUDE_DIR
)/package.mk
23 TARGET_CFLAGS
+= $(FPIC
)
25 define Package
/librsync
28 TITLE
:=implementation of the rolling-checksum algorithm
29 URL
:=http
://librsync.sourceforge.net
/
32 define Package
/librsync
/description
33 librsync implements the rolling-checksum algorithm of remote file
34 synchronization that was popularized by the rsync utility and is
35 used in rproxy. This algorithm transfers the differences between
2
36 files without needing both files on the same system.
39 define Build
/Configure
40 $(call Build
/Configure
/Default
, \
46 define Build
/InstallDev
47 $(INSTALL_DIR
) $(1)/usr
/include
48 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/librsync
{,-config
}.h
$(1)/usr
/include/
49 $(INSTALL_DIR
) $(1)/usr
/lib
50 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/librsync.
{a
,so
*} $(1)/usr
/lib
/
53 define Package
/librsync
/install
54 $(INSTALL_DIR
) $(1)/usr
/lib
55 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/librsync.so.
* $(1)/usr
/lib
/
58 $(eval
$(call BuildPackage
,librsync
))