summaryrefslogtreecommitdiff
path: root/system/dump/dump.SlackBuild
diff options
context:
space:
mode:
authorChris Abela <kristofru@gmail.com>2012-12-02 12:35:04 -0500
committerdsomero <xgizzmo@slackbuilds.org>2012-12-11 16:21:53 -0500
commitd56350571c7451893f4c2a137c16a21cd33967ea (patch)
tree6400284571caff3df1f1d01252bc3a2dcc00914b /system/dump/dump.SlackBuild
parent1701e6664f0464fd4d90c77dc57dd262b8afa9e8 (diff)
downloadslackbuilds-d56350571c7451893f4c2a137c16a21cd33967ea.tar.gz
system/dump: Updated for version 0.4b44
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/dump/dump.SlackBuild')
-rw-r--r--system/dump/dump.SlackBuild30
1 files changed, 24 insertions, 6 deletions
diff --git a/system/dump/dump.SlackBuild b/system/dump/dump.SlackBuild
index 5fb369d53b..4dba8d5c77 100644
--- a/system/dump/dump.SlackBuild
+++ b/system/dump/dump.SlackBuild
@@ -2,11 +2,28 @@
# Slackware build script for dump
-# Written by Chris Abela <chris.abela@maltats.com>
-# 30.07.2010
+# Copyright 2012 Chris Abela, Malta
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=dump
-VERSION=${VERSION:-0.4b43}
+VERSION=${VERSION:-0.4b44}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,9 +69,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# rmt is available on Slack's tar package, so I am disabling it.
-# The fully qualified mandir is necessary.
+# rmt is available on Slack's tar package, so I am disabling it
+# The full path for mandir is necessary
CFLAGS="$SLKCFLAGS" \
+EXT2FS_LIBS="-lext2fs -lcom_err" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -69,7 +87,7 @@ CFLAGS="$SLKCFLAGS" \
--enable-transselinux=no
make
-make prefix=$PKG/usr install
+make prefix=$PKG install # According to fhs-2.3, dump goes in /sbin
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true