summaryrefslogtreecommitdiff
path: root/misc/rsnapshot
diff options
context:
space:
mode:
authorSean Donner <sean.donner@sbcglobal.net>2010-05-13 00:34:30 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:34:30 +0200
commitf9af05beb0293e369d12c1e7fb792298d1b9d124 (patch)
tree1cef85fe9281a468ea6a6544eba85312a130affe /misc/rsnapshot
parent5a46f774c87b7a9d47216afac67a3f339db86426 (diff)
downloadslackbuilds-f9af05beb0293e369d12c1e7fb792298d1b9d124.tar.gz
misc/rsnapshot: Updated for version 1.3.1
Diffstat (limited to 'misc/rsnapshot')
-rw-r--r--misc/rsnapshot/rsnapshot.SlackBuild17
-rw-r--r--misc/rsnapshot/rsnapshot.info2
2 files changed, 14 insertions, 5 deletions
diff --git a/misc/rsnapshot/rsnapshot.SlackBuild b/misc/rsnapshot/rsnapshot.SlackBuild
index dfa25f61a0..ba57327887 100644
--- a/misc/rsnapshot/rsnapshot.SlackBuild
+++ b/misc/rsnapshot/rsnapshot.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=rsnapshot
VERSION=1.3.1
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -35,8 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
rm -rf $PKG
@@ -51,9 +56,11 @@ chmod -R u+w,go+r-w,a-s .
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --build=$ARCH-slackware-linux
make all || exit 1
make install DESTDIR=$PKG || exit 1
@@ -75,4 +82,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/misc/rsnapshot/rsnapshot.info b/misc/rsnapshot/rsnapshot.info
index 0eed7e7bb2..a256e8f505 100644
--- a/misc/rsnapshot/rsnapshot.info
+++ b/misc/rsnapshot/rsnapshot.info
@@ -2,7 +2,9 @@ PRGNAM="rsnapshot"
VERSION="1.3.1"
HOMEPAGE="http://www.rsnapshot.org"
DOWNLOAD="http://www.rsnapshot.org/downloads/rsnapshot-1.3.1.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="588f92995dcf60a6ea6df8d94a017e7e"
+MD5SUM_x86_64=""
MAINTAINER="Sean Donner"
EMAIL="sean.donner@sbcglobal.net"
APPROVED="dsomero"