Bläddra i källkod

package: add librsync

Closes #1303

[Peter: misc tweaks (whitespace, kconfig, sf.net URL)]

Signed-off-by: Chris Seawood <cls@seawood.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Chris Seawood 15 år sedan
förälder
incheckning
a038602e82
4 ändrade filer med 30 tillägg och 0 borttagningar
  1. 3 0
      CHANGES
  2. 1 0
      package/Config.in
  3. 11 0
      package/librsync/Config.in
  4. 15 0
      package/librsync/librsync.mk

+ 3 - 0
CHANGES

@@ -5,6 +5,8 @@
 
 	X.org updated to 7.5.
 
+	New packages: librsync
+
 	Updated/fixed packages: busybox, dosfstools, e2fsprogs, iperf,
 	libglib2, libpng, memstat, mtd-utils, pppd, setserial,
 	squashfs, wget
@@ -15,6 +17,7 @@
 	#1111: Bump wget to 1.12 and migrate to Makefile.autotools.in
 	#1129: Bump memstat to 0.8 and migrate to Makefile.package.in
 	#1273: BR2_INET_IPV6 does not enable IPv6 in pppd
+	#1303: Add librsync package
 	#1345: Bump pppd to 2.4.5 and convert to Makefile.autotools.in
 
 2010.02, Release February 26th, 2010:

+ 1 - 0
package/Config.in

@@ -81,6 +81,7 @@ source "package/libiconv/Config.in"
 source "package/libidn/Config.in"
 source "package/liblockfile/Config.in"
 source "package/liboil/Config.in"
+source "package/librsync/Config.in"
 source "package/libsysfs/Config.in"
 source "package/lockfile-progs/Config.in"
 source "package/logrotate/Config.in"

+ 11 - 0
package/librsync/Config.in

@@ -0,0 +1,11 @@
+config BR2_PACKAGE_LIBRSYNC
+	bool "librsync"
+	select BR2_PACKAGE_ZLIB
+	select BR2_PACKAGE_BZIP2
+	select BR2_PACKAGE_POPT
+	help
+	  librsync implements the rolling-checksum algorithm of
+	  remote file synchronization that was popularized by the
+	  rsync utility and is used in rproxy.
+
+	  http://sourceforge.net/projects/librsync/

+ 15 - 0
package/librsync/librsync.mk

@@ -0,0 +1,15 @@
+#############################################################
+#
+# librsync
+#
+#############################################################
+LIBRSYNC_VERSION:=0.9.7
+LIBRSYNC_SOURCE:=librsync-$(LIBRSYNC_VERSION).tar.gz
+LIBRSYNC_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/librsync/
+LIBRSYNC_INSTALL_STAGING = YES
+LIBRSYNC_INSTALL_TARGET = YES
+LIBRSYNC_CONF_OPT = --enable-shared
+
+LIBRSYNC_DEPENDENCIES = zlib bzip2 popt
+
+$(eval $(call AUTOTARGETS,package,librsync))