# HG changeset patch # User Hans-G?nter Theisgen # Date 1640962526 -3600 # Node ID 76730de9420b678bedeb16f0a13cd07e4737b8f8 # Parent 0e2caf86aa48ed65de7d7239e42e9a067860bed2 properly renamed perl-file-rsync to perl-file-rsyncp diff -r 0e2caf86aa48 -r 76730de9420b perl-file-rsyncp/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-file-rsyncp/description.txt Fri Dec 31 15:55:26 2021 +0100 @@ -0,0 +1,23 @@ +File::RsyncP is a perl implementation of an Rsync client. +It is compatible with Rsync 2.5.5 - 2.6.3 (protocol versions 26-28). +It can send or receive files, either by running rsync on the remote +machine, or connecting to an rsyncd deamon on the remote machine. + +What use is File::RsyncP? +The main purpose is that File::RsyncP separates all file system I/O +into a separate module, which can be replaced by any module of your +own design. This allows rsync interfaces to non-filesystem data +types (eg: databases) to be developed with relative ease. + +File::RsyncP was initially written to provide an Rsync interface for +BackupPC, http://backuppc.sourceforge.net. +See BackupPC for programming examples. + +File::RsyncP does not yet provide a command-line interface that +mimics native Rsync. +Instead it provides an API that makes it possible to write simple +scripts that talk to rsync or rsyncd. + +The File::RsyncP::FileIO module contains the default file system +access functions. File::RsyncP::FileIO may be subclassed or replaced +by a custom module to provide access to non-filesystem data types. diff -r 0e2caf86aa48 -r 76730de9420b perl-file-rsyncp/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-file-rsyncp/receipt Fri Dec 31 15:55:26 2021 +0100 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="perl-file-rsyncp" +VERSION="0.76" +CATEGORY="development" +SHORT_DESC="Perl Rsync client" +MAINTAINER="slaxemulator@gmail.com" +LICENSE="GPL" +WEB_SITE="https://metacpan.org/pod/File::RsyncP" +REPOLOGY="perl:file-rsyncp" + +SOURCE="File-RsyncP" +TARBALL="$SOURCE-$VERSION.tar.gz" +WGET_URL="https://www.cpan.org/modules/by-module/File/$TARBALL" + +DEPENDS="perl rsync" +BUILD_DEPENDS="perl" + +# Rules to configure and make the package. +compile_rules() +{ + perl Makefile.PL && + make -j 1 && + make install DESTDIR=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_folders lib +}