aboutsummaryrefslogtreecommitdiff
path: root/system/ccrypt/ccrypt.SlackBuild
diff options
context:
space:
mode:
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 41984b57b70f..8c0e27c8fe8f 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 \