diff options
Diffstat (limited to 'system/dar/dar.SlackBuild')
-rw-r--r-- | system/dar/dar.SlackBuild | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/system/dar/dar.SlackBuild b/system/dar/dar.SlackBuild index d5e8762dccb69..7e007dfc79d25 100644 --- a/system/dar/dar.SlackBuild +++ b/system/dar/dar.SlackBuild @@ -6,10 +6,10 @@ # Copyright (c) 2007, Nishant Limbachia (nishant@mnspace.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,13 @@ # 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 +# Modified slightly further by Erik Hanson <erik@slackbuilds.org> # No additional license terms added :-) - + PRGNAM=dar -VERSION=2.3.6 +VERSION=2.3.8 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -68,15 +69,15 @@ CXXFLAGS="$SLKCFLAGS" \ --docdir=/usr/doc \ --enable-shared \ --enable-static \ - --disable-upx + --disable-upx make make DESTDIR=$PKG install-strip -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -) +find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : \ + | xargs strip --strip-unneeded 2> /dev/null +find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : \ + | xargs strip --strip-unneeded 2> /dev/null ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; |