summaryrefslogtreecommitdiff
path: root/libraries/c-ares/c-ares.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/c-ares/c-ares.SlackBuild')
-rw-r--r--libraries/c-ares/c-ares.SlackBuild9
1 files changed, 2 insertions, 7 deletions
diff --git a/libraries/c-ares/c-ares.SlackBuild b/libraries/c-ares/c-ares.SlackBuild
index 3267d5ea26..7b3f585ba9 100644
--- a/libraries/c-ares/c-ares.SlackBuild
+++ b/libraries/c-ares/c-ares.SlackBuild
@@ -5,16 +5,14 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=c-ares
-VERSION=${VERSION:-1.7.0}
+VERSION=1.7.3
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
@@ -69,10 +67,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 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \