diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2010-04-18 10:16:39 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-15 10:38:22 +0200 |
commit | 6957cf4c9e918dfb497a7fca0dbb8ce7a490b356 (patch) | |
tree | 75f3d3cdc1318b05c44cad1c5c85d2a0bd1eab32 /system/ccrypt/ccrypt.SlackBuild | |
parent | 090bc010fb5a62e6c93105973ee4e5bf01f289cd (diff) | |
download | slackbuilds-6957cf4c9e918dfb497a7fca0dbb8ce7a490b356.tar.gz |
system/ccrypt: Build bump, script cleanup.
Use install-strip now.
Diffstat (limited to 'system/ccrypt/ccrypt.SlackBuild')
-rw-r--r-- | system/ccrypt/ccrypt.SlackBuild | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/system/ccrypt/ccrypt.SlackBuild b/system/ccrypt/ccrypt.SlackBuild index 4bf03738ad..1b4acca6f9 100644 --- a/system/ccrypt/ccrypt.SlackBuild +++ b/system/ccrypt/ccrypt.SlackBuild @@ -3,7 +3,7 @@ # Slackware Package Build Script for ccrypt # Home Page http://ccrypt.sourceforge.net/ -# Copyright (c) 2009, Nishant Limbachia, Hoffman Est, IL, USA (nishant@mnspace.net) +# Copyright (c) 2009-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 @@ -27,7 +27,7 @@ PRGNAM=ccrypt VERSION=1.9 ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -73,15 +73,7 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -make install DESTDIR=$PKG - -### strip binaries -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - 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 -) +make install-strip DESTDIR=$PKG ### compress man pages ( cd $PKG/usr/man @@ -90,8 +82,8 @@ make install DESTDIR=$PKG ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a ChangeLog COPYING AUTHORS README INSTALL NEWS $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +cp -a ChangeLog COPYING AUTHORS README \ + INSTALL NEWS $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |