summaryrefslogtreecommitdiff
path: root/system/dar/dar.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/dar/dar.SlackBuild')
-rw-r--r--system/dar/dar.SlackBuild21
1 files changed, 11 insertions, 10 deletions
diff --git a/system/dar/dar.SlackBuild b/system/dar/dar.SlackBuild
index 8ea9ce0cb7..4dc6ae0d5d 100644
--- a/system/dar/dar.SlackBuild
+++ b/system/dar/dar.SlackBuild
@@ -3,13 +3,13 @@
# Slackware Package Build Script for Disk ARchive (DAR)
# Home Page http://dar.linux.free.fr/
-# Copyright (c) 2007, Nishant Limbachia (nishant@mnspace.net)
+# Copyright (c) 2007-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net)
# All rights reserved.
#
-# Redistribution and use of this script, with or without modification, is
+# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
-# 1. Redistributions of script must retain the above copyright notice,
+# 1. Redistributions of script must retain the above copyright notice,
# this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
@@ -24,12 +24,12 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Modified by Robby Workman <rworkman@slackbuilds.org> for better
+# Modified by Robby Workman <rworkman@slackbuilds.org> for better
# consistency with other scripts in our repository
# No additional license terms added :-)
-
-PRGNAM=dar
-VERSION=2.3.9
+
+PRGNAM="dar"
+VERSION="2.3.10"
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -75,16 +75,17 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc \
--enable-shared \
--enable-static \
- --disable-upx
+ --disable-upx \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
+ xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
+ xargs strip --strip-unneeded 2> /dev/null || true
)
( cd $PKG/usr/man