mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
system/testdisk: Updated for version 6.12_WIP.
This is actually a beta, but the released versions won't work with ncurses-5.8 (according to reports on our mail list), so this should probably be updated despite its beta status. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
d5f3875c8b
commit
c81f0f1660
2 changed files with 13 additions and 13 deletions
|
@ -4,10 +4,12 @@
|
|||
# Modified by Robby Workman <rworkman@slackbuilds.org>
|
||||
|
||||
PRGNAM=testdisk
|
||||
VERSION=6.11
|
||||
VERSION=6.12_WIP
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
SRC_VERSION="$(printf $VERSION | tr _ -)"
|
||||
|
||||
# Automatically determine the architecture we're building on:
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
|
@ -42,9 +44,9 @@ set -e
|
|||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||
cd $PRGNAM-$VERSION
|
||||
rm -rf $PRGNAM-$SRC_VERSION
|
||||
tar xvf $CWD/$PRGNAM-$SRC_VERSION.tar.bz2
|
||||
cd $PRGNAM-$SRC_VERSION
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
|
||||
|
@ -56,7 +58,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--docdir=/usr/doc/$PRGNAM-$SRC-VERSION \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
|
@ -65,14 +67,12 @@ make install DESTDIR=$PKG
|
|||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
( 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
|
||||
)
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
|
||||
|
||||
# Thanks for ignoring the --docdir setting
|
||||
mv $PKG/usr/share/doc $PKG/usr ; rmdir $PKG/usr/share
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$SRC_VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="testdisk"
|
||||
VERSION="6.11"
|
||||
VERSION="6.12_WIP"
|
||||
HOMEPAGE="http://www.cgsecurity.org"
|
||||
DOWNLOAD="http://www.cgsecurity.org/testdisk-6.11.tar.bz2"
|
||||
MD5SUM="11f8fe95dcd190b69b782efa65b29ba1"
|
||||
DOWNLOAD="http://www.cgsecurity.org/testdisk-6.12-WIP.tar.bz2"
|
||||
MD5SUM="ed7bcfee065982cd2c831c7aff897707"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Michales Michaloudes"
|
||||
|
|
Loading…
Reference in a new issue