From f9af05beb0293e369d12c1e7fb792298d1b9d124 Mon Sep 17 00:00:00 2001 From: Sean Donner Date: Thu, 13 May 2010 00:34:30 +0200 Subject: misc/rsnapshot: Updated for version 1.3.1 --- misc/rsnapshot/rsnapshot.SlackBuild | 17 ++++++++++++----- misc/rsnapshot/rsnapshot.info | 2 ++ 2 files changed, 14 insertions(+), 5 deletions(-) (limited to 'misc') diff --git a/misc/rsnapshot/rsnapshot.SlackBuild b/misc/rsnapshot/rsnapshot.SlackBuild index dfa25f61a0dd..ba573278872e 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 0eed7e7bb2a3..a256e8f50585 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" -- cgit v1.2.3