From 086a00c59b8bc2dee139178fa9431f789b0b690e Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sun, 22 May 2022 18:38:31 +0200 Subject: [PATCH] librsync: Update README and the script --- private/librsync/README | 13 +++++++------ private/librsync/librsync.SlackBuild | 19 +++++++++---------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/private/librsync/README b/private/librsync/README index 4018331..23f48f1 100644 --- a/private/librsync/README +++ b/private/librsync/README @@ -1,8 +1,9 @@ librsync (rsync synchronization algorithm library.) -librsync is a free software library that implements the rsync remote-delta -algorithm. - -The rsync remote-delta algorithm is a method of efficiently transmitting a -structure (such as a file) across a communications link when the receiving -computer already has a different version of the same structure. +librsync is a free software library that implements the rsync +remote-delta algorithm. + +The rsync remote-delta algorithm is a method of efficiently +transmitting a structure (such as a file) across a communications link +when the receiving computer already has a different version of the +same structure. diff --git a/private/librsync/librsync.SlackBuild b/private/librsync/librsync.SlackBuild index 5929da9..b75ff3a 100644 --- a/private/librsync/librsync.SlackBuild +++ b/private/librsync/librsync.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for librsync. # Written by Lyle Sigurdson . -# Copyright 2020 Ricardo J. Barberis +# Copyright (C) 2020-2021 Ricardo J. Barberis # # Free for any use; no warranty. @@ -67,15 +67,14 @@ find -L . \ mkdir build cd build -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \ - -DCMAKE_INSTALL_MANDIR=/usr/man \ - -DCMAKE_BUILD_TYPE=Release .. + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \ + -DCMAKE_INSTALL_MANDIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. make -make install DESTDIR=$PKG +make DESTDIR=$PKG install cd .. ( cd $PKG/usr/man @@ -84,7 +83,7 @@ cd .. ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING CONTRIBUTING.md NEWS.md README.md THANKS TODO.md \ +cp -a AUTHORS CONTRIBUTING.md COPYING NEWS.md README.md THANKS TODO.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild