summaryrefslogtreecommitdiffstats
path: root/misc/rsnapshot/rsnapshot.SlackBuild
diff options
context:
space:
mode:
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 \