aboutsummaryrefslogtreecommitdiff
path: root/system/rdiff-backup
diff options
context:
space:
mode:
Diffstat (limited to 'system/rdiff-backup')
-rw-r--r--system/rdiff-backup/rdiff-backup.SlackBuild45
-rw-r--r--system/rdiff-backup/rdiff-backup.info6
2 files changed, 23 insertions, 28 deletions
diff --git a/system/rdiff-backup/rdiff-backup.SlackBuild b/system/rdiff-backup/rdiff-backup.SlackBuild
index 2f884f57d220..84f6cff150c7 100644
--- a/system/rdiff-backup/rdiff-backup.SlackBuild
+++ b/system/rdiff-backup/rdiff-backup.SlackBuild
@@ -23,54 +23,49 @@
# Modified by the SlackBuilds.org project
-PKGNAME=rdiff-backup
-VERSION=1.0.5
-ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
+PRGNAM=rdiff-backup
+VERSION=1.2.5
+ARCH=noarch
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
TMP=${TMP:-/tmp/SBo}
CWD=$(pwd)
-PKG=$TMP/package-$PKGNAME
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
-fi
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PKGNAME-$VERSION
-tar xvf $CWD/$PKGNAME-$VERSION.tar.gz || exit 1
-cd $PKGNAME-$VERSION || exit 1
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
+cd $PRGNAM-$VERSION || exit 1
chown -R root:root .
chmod -R a-s,u+rw,go-w+r .
sed -i 's|share/man/|man/|g' setup.py
-
-python setup.py build
python setup.py install --prefix=/usr --root=$PKG
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
)
-mkdir -p $PKG/usr/doc
-mv $PKG/usr/share/doc/$PKGNAME-$VERSION $PKG/usr/doc
-cp -a examples.html $PKG/usr/doc/$PKGNAME-$VERSION
-cat $CWD/$PKGNAME.SlackBuild > $PKG/usr/doc/$PKGNAME-$VERSION/$PKGNAME.SlackBuild
-rm -rf $PKG/usr/share
-
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
+mkdir -p $PKG/usr/doc
+mv $PKG/usr/share/doc/$PRGNAM-$VERSION $PKG/usr/doc
+cp -a examples.html $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -rf $PKG/usr/share
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PKGNAME-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/system/rdiff-backup/rdiff-backup.info b/system/rdiff-backup/rdiff-backup.info
index 11d72229decd..a130ae915cce 100644
--- a/system/rdiff-backup/rdiff-backup.info
+++ b/system/rdiff-backup/rdiff-backup.info
@@ -1,8 +1,8 @@
PRGNAM="rdiff-backup"
-VERSION="1.0.5"
+VERSION="1.2.5"
HOMEPAGE="http://rdiff-backup.nongnu.org/"
-DOWNLOAD="http://savannah.nongnu.org/download/rdiff-backup/rdiff-backup-1.0.5.tar.gz"
-MD5SUM="fa2a165fa07a94be52c52e3545bc7758"
+DOWNLOAD="http://savannah.nongnu.org/download/rdiff-backup/rdiff-backup-1.2.5.tar.gz"
+MD5SUM="28c9f45afd0e4a250ecc95e555995e48"
MAINTAINER="paul wisehart"
EMAIL="wise@lupulin.net"
APPROVED="rworkman"