summaryrefslogtreecommitdiff
path: root/system/dump/dump.SlackBuild
diff options
context:
space:
mode:
authorDonald Cooley <chytraeu@sdf.org>2017-03-19 11:14:50 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-19 11:14:50 +0700
commitd49fc1e945492b074de980060057c48d5c2115de (patch)
treecfe97ad9c5f0c6963fd4cff495cdc54ae7dfeaf5 /system/dump/dump.SlackBuild
parent61e5a6737db26a57e2a5a7a97a6a7a9590ef5d7e (diff)
downloadslackbuilds-d49fc1e945492b074de980060057c48d5c2115de.tar.gz
system/dump: Updated for version 0.4b46 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/dump/dump.SlackBuild')
-rw-r--r--system/dump/dump.SlackBuild18
1 files changed, 7 insertions, 11 deletions
diff --git a/system/dump/dump.SlackBuild b/system/dump/dump.SlackBuild
index 9108aef3db..af8e64ec2a 100644
--- a/system/dump/dump.SlackBuild
+++ b/system/dump/dump.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for dump
-
+# Copyright 2017 Donald Cooley, South Haven, Indiana USA
# Copyright 2012 Chris Abela, Malta
# Copyright 2014 Ryan P.C. McQuen, WA, ryanpcmcquen@member.fsf.org
# All rights reserved.
@@ -24,13 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=dump
-VERSION=${VERSION:-0.4b44}
+VERSION=${VERSION:-0.4b46}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -41,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -80,12 +80,8 @@ EXT2FS_LIBS="-lext2fs -lcom_err" \
--localstatedir=/var \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=$PKG/usr/man \
- --with-binowner=root \
- --with-bingrp=root \
- --with-manowner=root \
- --with-mangrp=root \
--enable-rmt=no \
- --enable-transselinux=no
+ --enable-selinux=no
make
make prefix=$PKG install # According to fhs-2.3, dump goes in /sbin
@@ -98,7 +94,7 @@ for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- CHANGES COPYRIGHT INSTALL *BUGS MAINTAINERS README THANKS TODO examples \
+ AUTHORS COPYING INSTALL *BUGS MAINTAINERS NEWS README TODO ChangeLog examples \
$PKG/usr/doc/$PRGNAM-$VERSION
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild