summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/testdisk/README4
-rw-r--r--system/testdisk/testdisk.SlackBuild13
-rw-r--r--system/testdisk/testdisk.info8
3 files changed, 17 insertions, 8 deletions
diff --git a/system/testdisk/README b/system/testdisk/README
index 9220820a2a..9cd873d5c9 100644
--- a/system/testdisk/README
+++ b/system/testdisk/README
@@ -7,4 +7,6 @@ using TestDisk is really easy.
PhotoRec is file data recovery software designed to recover lost files
including video, documents and archives from Hard Disks and CDRom and
-lost pictures from digital camera memory. It ignores your filesystem
+lost pictures from digital camera memory.
+
+libewf is an optional dependency.
diff --git a/system/testdisk/testdisk.SlackBuild b/system/testdisk/testdisk.SlackBuild
index af4dd9142f..3571af145a 100644
--- a/system/testdisk/testdisk.SlackBuild
+++ b/system/testdisk/testdisk.SlackBuild
@@ -4,20 +4,25 @@
# Modified by Robby Workman <rworkman@slackbuilds.org>
PRGNAM=testdisk
-VERSION=6.10
+VERSION=6.11
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
+TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
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
@@ -35,11 +40,11 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib$LIBDIRSUFFIX \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-static \
--build=$ARCH-slackware-linux
make
@@ -61,4 +66,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/testdisk/testdisk.info b/system/testdisk/testdisk.info
index cfcbb371d8..42a68f2c89 100644
--- a/system/testdisk/testdisk.info
+++ b/system/testdisk/testdisk.info
@@ -1,8 +1,10 @@
PRGNAM="testdisk"
-VERSION="6.10"
+VERSION="6.11"
HOMEPAGE="http://www.cgsecurity.org"
-DOWNLOAD="http://www.cgsecurity.org/testdisk-6.10.tar.bz2"
-MD5SUM="d3bde0b546d40e029dda4e9861db40ef"
+DOWNLOAD="http://www.cgsecurity.org/testdisk-6.11.tar.bz2"
+MD5SUM="11f8fe95dcd190b69b782efa65b29ba1"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Michales Michaloudes"
EMAIL="korgie@gmail.com"
APPROVED="rworkman"