mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
system/ddrescue: Updated for version 1.11
This commit is contained in:
parent
61eadf181c
commit
96b3cbdcf2
2 changed files with 18 additions and 6 deletions
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue