summaryrefslogtreecommitdiff
path: root/system/ccrypt/ccrypt.SlackBuild
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2013-04-23 20:48:07 -0400
committerNiels Horn <niels.horn@slackbuilds.org>2013-04-28 12:29:32 -0300
commitb6215723f92e77b57a901f09e026a07d1197dfff (patch)
tree47fc5fad66078994217bc06db310212d617aa706 /system/ccrypt/ccrypt.SlackBuild
parent7d4c91f91c65bf397dff900410db96632898344f (diff)
downloadslackbuilds-b6215723f92e77b57a901f09e026a07d1197dfff.tar.gz
system/ccrypt: Updated for version 1.10.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/ccrypt/ccrypt.SlackBuild')
-rw-r--r--system/ccrypt/ccrypt.SlackBuild21
1 files changed, 10 insertions, 11 deletions
diff --git a/system/ccrypt/ccrypt.SlackBuild b/system/ccrypt/ccrypt.SlackBuild
index 41984b57b7..8c0e27c8fe 100644
--- a/system/ccrypt/ccrypt.SlackBuild
+++ b/system/ccrypt/ccrypt.SlackBuild
@@ -3,13 +3,14 @@
# Slackware Package Build Script for ccrypt
# Home Page http://ccrypt.sourceforge.net/
-# Copyright (c) 2009-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net)
+# Copyright (c) 2009-2013, 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,17 +25,15 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=ccrypt
-VERSION=1.9
-BUILD=${BUILD:-2}
+PRGNAM="ccrypt"
+VERSION=${VERSION:-1.10}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -58,7 +57,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -fr $TMP/$PRGNAM-$VERSION $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -83,7 +82,7 @@ CXXFLAGS="$SLKCFLAGS" \
--infodir=/usr/info \
--disable-static \
--build=$ARCH-slackware-linux
-
+
make
make install-strip DESTDIR=$PKG
@@ -91,7 +90,7 @@ make install-strip DESTDIR=$PKG
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-)
+)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog COPYING AUTHORS README \