diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2010-05-12 17:45:09 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 17:45:09 +0200 |
commit | 24a9e791508b6d77cc0fe0234fb1787bfa788c7f (patch) | |
tree | aeac141cd619e00dfcae39379a74abf14b0f0ea9 /system | |
parent | 8091da085264b405ff1edcf930eaaccf8c6d2909 (diff) |
system/ddrescue: Updated for version 1.10
Diffstat (limited to 'system')
-rw-r--r-- | system/ddrescue/ddrescue.SlackBuild | 13 | ||||
-rw-r--r-- | system/ddrescue/ddrescue.info | 8 | ||||
-rw-r--r-- | system/ddrescue/slack-desc | 2 |
3 files changed, 13 insertions, 10 deletions
diff --git a/system/ddrescue/ddrescue.SlackBuild b/system/ddrescue/ddrescue.SlackBuild index f444ded6a6dd..4618de8db721 100644 --- a/system/ddrescue/ddrescue.SlackBuild +++ b/system/ddrescue/ddrescue.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for ddrescue -# Copyright 2007-2008 Heinz Wiesinger <pprkut@liwjatan.at> +# Copyright 2007-2009 Heinz Wiesinger <pprkut@liwjatan.at> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ddrescue -VERSION=1.9 +VERSION=1.10 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -37,6 +37,8 @@ if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" fi set -e @@ -45,7 +47,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -55,6 +57,7 @@ chmod -R u+w,go+r-w,a-s . --sysconfdir=/etc \ --localstatedir=/var \ --infodir=/usr/info \ + --build=$ARCH-slackware-linux \ CFLAGS="-Wall -W $SLKCFLAGS" \ CXXFLAGS="-Wall -W $SLKCFLAGS" @@ -62,10 +65,10 @@ make make install-strip DESTDIR=$PKG rm -f $PKG/usr/info/dir -gzip -9 $PKG/usr/info/*.info* +gzip -9 $PKG/usr/info/* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \ +cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/system/ddrescue/ddrescue.info b/system/ddrescue/ddrescue.info index 0877ef4669b9..9b7e671ceae6 100644 --- a/system/ddrescue/ddrescue.info +++ b/system/ddrescue/ddrescue.info @@ -1,8 +1,8 @@ PRGNAM="ddrescue" -VERSION="1.9" +VERSION="1.10" HOMEPAGE="http://www.gnu.org/software/ddrescue/ddrescue.html" -DOWNLOAD="http://download.savannah.gnu.org/releases/ddrescue/ddrescue-1.9.tar.bz2" -MD5SUM="f580e4e535b1b6a8997dd0929361c17d" +DOWNLOAD="http://ftp.gnu.org/gnu/ddrescue/ddrescue-1.10.tar.gz" +MD5SUM="0472d22991a2c6231ac36b03bb49cfd5" MAINTAINER="ppr:kut" EMAIL="pprkut@liwjatan.at" -APPROVED="Erik Hanson" +APPROVED="rworkman" diff --git a/system/ddrescue/slack-desc b/system/ddrescue/slack-desc index da18064978ce..42760a8d57b2 100644 --- a/system/ddrescue/slack-desc +++ b/system/ddrescue/slack-desc @@ -5,7 +5,7 @@ # make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':'. - |-----handy-ruler---------------------------------------------------| + |-----handy-ruler-------------------------------------------------------| ddrescue: ddrescue (data recovery tool) ddrescue: ddrescue: GNU ddrescue is a data recovery tool. It copies data from one |