summaryrefslogtreecommitdiff
path: root/misc/rsnapshot/rsnapshot.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackware.com>2016-06-19 06:13:04 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-06-19 23:52:01 +0700
commit05d27b566565abc5df6b2a694cd5cab685be6b70 (patch)
treefd3a2634686c94cca822b3ce67d067332f2c7d89 /misc/rsnapshot/rsnapshot.SlackBuild
parent8b424fc6a3d187713295acd0943f171cdb22db1f (diff)
downloadslackbuilds-05d27b566565abc5df6b2a694cd5cab685be6b70.tar.gz
misc/rsnapshot: Updated for version 1.4.2.
Diffstat (limited to 'misc/rsnapshot/rsnapshot.SlackBuild')
-rw-r--r--misc/rsnapshot/rsnapshot.SlackBuild12
1 files changed, 4 insertions, 8 deletions
diff --git a/misc/rsnapshot/rsnapshot.SlackBuild b/misc/rsnapshot/rsnapshot.SlackBuild
index c20bde65eb..fe8d6fec35 100644
--- a/misc/rsnapshot/rsnapshot.SlackBuild
+++ b/misc/rsnapshot/rsnapshot.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=rsnapshot
-VERSION=1.3.1
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-1.4.2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -67,9 +67,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Fix for the newer pod2man
-patch -p1 < $CWD/patch_pod2man.diff
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -77,14 +74,13 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
+ --mandir=/usr/man \
--build=$ARCH-slackware-linux
make all || exit 1
make install DESTDIR=$PKG || exit 1
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} +
-)
+find $PKG/usr/man -type f -exec gzip -9 {} + || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING ChangeLog README docs/HOWTOs/rsnapshot-HOWTO.en.html utils \