librsync: Update README and the script

This commit is contained in:
Eugen Wissner 2022-05-22 18:38:31 +02:00
parent 59c19f58ea
commit 086a00c59b
Signed by: belka
GPG Key ID: A27FDC1E8EE902C0
2 changed files with 16 additions and 16 deletions

View File

@ -1,8 +1,9 @@
librsync (rsync synchronization algorithm library.) librsync (rsync synchronization algorithm library.)
librsync is a free software library that implements the rsync remote-delta librsync is a free software library that implements the rsync
algorithm. remote-delta algorithm.
The rsync remote-delta algorithm is a method of efficiently transmitting a The rsync remote-delta algorithm is a method of efficiently
structure (such as a file) across a communications link when the receiving transmitting a structure (such as a file) across a communications link
computer already has a different version of the same structure. when the receiving computer already has a different version of the
same structure.

View File

@ -2,7 +2,7 @@
# Slackware build script for librsync. # Slackware build script for librsync.
# Written by Lyle Sigurdson <lyle_s@myrealbox.com>. # Written by Lyle Sigurdson <lyle_s@myrealbox.com>.
# Copyright 2020 Ricardo J. Barberis <ricardo.barberis@gmail.com> # Copyright (C) 2020-2021 Ricardo J. Barberis <ricardo.barberis@gmail.com>
# #
# Free for any use; no warranty. # Free for any use; no warranty.
@ -67,15 +67,14 @@ find -L . \
mkdir build mkdir build
cd build cd build
CFLAGS="$SLKCFLAGS" \ cmake \
CXXFLAGS="$SLKCFLAGS" \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
cmake \ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
-DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \ -DCMAKE_INSTALL_MANDIR=/usr/man \
-DCMAKE_INSTALL_MANDIR=/usr/man \ -DCMAKE_BUILD_TYPE=Release ..
-DCMAKE_BUILD_TYPE=Release ..
make make
make install DESTDIR=$PKG make DESTDIR=$PKG install
cd .. cd ..
( cd $PKG/usr/man ( cd $PKG/usr/man
@ -84,7 +83,7 @@ cd ..
) )
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION 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 $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild