mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
system/testdisk: Updated for version 6.11
This commit is contained in:
parent
4da74fd023
commit
0249adabad
3 changed files with 17 additions and 8 deletions
|
@ -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.
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue