aboutsummaryrefslogtreecommitdiff
path: root/libraries/libtasn1/libtasn1.SlackBuild
diff options
context:
space:
mode:
authorStylianos Tsampas <ztsampas@otenet.gr>2010-06-15 13:40:05 -0500
committerErik Hanson <erik@slackbuilds.org>2010-06-16 00:09:44 -0500
commit3c4203f426c9c3e10da7e57862342420e60949ec (patch)
tree2b3b06ea77f66069f23f366e5c7e265fcd11870f /libraries/libtasn1/libtasn1.SlackBuild
parente34fa96d01f91d290982ad93cfe6bdb06e608924 (diff)
libraries/libtasn1: Updated for version 2.2.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'libraries/libtasn1/libtasn1.SlackBuild')
-rw-r--r--libraries/libtasn1/libtasn1.SlackBuild9
1 files changed, 2 insertions, 7 deletions
diff --git a/libraries/libtasn1/libtasn1.SlackBuild b/libraries/libtasn1/libtasn1.SlackBuild
index 85bc0a34315f..6d535eccf300 100644
--- a/libraries/libtasn1/libtasn1.SlackBuild
+++ b/libraries/libtasn1/libtasn1.SlackBuild
@@ -22,16 +22,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libtasn1
-VERSION=${VERSION:-1.8}
+VERSION=${VERSION:-2.2}
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
@@ -90,10 +88,7 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( 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
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*