summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/ddrescue/ddrescue.SlackBuild14
-rw-r--r--system/ddrescue/ddrescue.info10
2 files changed, 18 insertions, 6 deletions
diff --git a/system/ddrescue/ddrescue.SlackBuild b/system/ddrescue/ddrescue.SlackBuild
index 4618de8db7..6c007eb08a 100644
--- a/system/ddrescue/ddrescue.SlackBuild
+++ b/system/ddrescue/ddrescue.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ddrescue
-VERSION=1.10
+VERSION=1.11
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,10 +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
set -e
@@ -54,8 +57,10 @@ chmod -R u+w,go+r-w,a-s .
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
+ --mandir=/usr/man \
--infodir=/usr/info \
--build=$ARCH-slackware-linux \
CFLAGS="-Wall -W $SLKCFLAGS" \
@@ -67,6 +72,11 @@ make install-strip DESTDIR=$PKG
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*
+( 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/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
@@ -76,4 +86,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
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/system/ddrescue/ddrescue.info b/system/ddrescue/ddrescue.info
index 9b7e671cea..19e8f6a981 100644
--- a/system/ddrescue/ddrescue.info
+++ b/system/ddrescue/ddrescue.info
@@ -1,8 +1,10 @@
PRGNAM="ddrescue"
-VERSION="1.10"
+VERSION="1.11"
HOMEPAGE="http://www.gnu.org/software/ddrescue/ddrescue.html"
-DOWNLOAD="http://ftp.gnu.org/gnu/ddrescue/ddrescue-1.10.tar.gz"
-MD5SUM="0472d22991a2c6231ac36b03bb49cfd5"
-MAINTAINER="ppr:kut"
+DOWNLOAD="http://ftp.gnu.org/gnu/ddrescue/ddrescue-1.11.tar.gz"
+MD5SUM="7146046bb1851351d1337bb1f5b4e903"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="pprkut"
EMAIL="pprkut@liwjatan.at"
APPROVED="rworkman"