summaryrefslogtreecommitdiff
path: root/libraries/libtasn1/libtasn1.SlackBuild
diff options
context:
space:
mode:
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 85bc0a3431..6d535eccf3 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/*