summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2022-05-22 18:38:31 +0200
committerEugen Wissner <belka@caraus.de>2022-05-22 18:38:31 +0200
commit086a00c59b8bc2dee139178fa9431f789b0b690e (patch)
treea286f00ff73cc9e32e3f56c2266c4bab1629f560
parent59c19f58ea938b2e86b5eb5bbe4cfb6b1b5e46dc (diff)
downloadslackbuilder-086a00c59b8bc2dee139178fa9431f789b0b690e.tar.gz
librsync: Update README and the script
-rw-r--r--private/librsync/README13
-rw-r--r--private/librsync/librsync.SlackBuild19
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 <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