librsync: Update README and the script
This commit is contained in:
parent
59c19f58ea
commit
086a00c59b
@ -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.
|
||||||
|
@ -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" \
|
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
|
||||||
cmake \
|
cmake \
|
||||||
|
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
|
||||||
-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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user