summaryrefslogtreecommitdiff
path: root/system/testdisk
diff options
context:
space:
mode:
authorMichales Michaloudes <korgie@gmail.com>2010-05-13 00:41:58 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:41:58 +0200
commit0249adabade7a6501f75bf6209830e9d48af7316 (patch)
tree2e8fc5ca669115af244488a3003d6c934d38a780 /system/testdisk
parent4da74fd023a6f9a9fe3d3df5ec5e4787fe59791c (diff)
downloadslackbuilds-0249adabade7a6501f75bf6209830e9d48af7316.tar.gz
system/testdisk: Updated for version 6.11
Diffstat (limited to 'system/testdisk')
-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"