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 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.

View File

@ -2,7 +2,7 @@
# Slackware build script for librsync.
# 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.
@ -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