aboutsummaryrefslogtreecommitdiff
path: root/libraries/c-ares/c-ares.SlackBuild
diff options
context:
space:
mode:
authorKent Fritz <fritz.kent@gmail.com>2016-11-24 21:36:14 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-26 11:47:24 +0700
commit5edd9a424922da98b2cc98c23c5ddc1d68a299d1 (patch)
tree233bb3aaacac2c114e9e4756eeff542b0a1a0124 /libraries/c-ares/c-ares.SlackBuild
parent421864d2280c56ea18560c0c78434ccb0f416329 (diff)
libraries/c-ares: Updated for version 1.12.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/c-ares/c-ares.SlackBuild')
-rw-r--r--libraries/c-ares/c-ares.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/libraries/c-ares/c-ares.SlackBuild b/libraries/c-ares/c-ares.SlackBuild
index 4e69752b2c9f..9a634e9d0253 100644
--- a/libraries/c-ares/c-ares.SlackBuild
+++ b/libraries/c-ares/c-ares.SlackBuild
@@ -6,13 +6,13 @@
# Currently Maintained by Kent Fritz <fritz.kent@gmail.com>
PRGNAM=c-ares
-VERSION=${VERSION:-1.11.0}
+VERSION=${VERSION:-1.12.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -23,8 +23,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -71,7 +71,6 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
cat ares.h | head -15 | tail -14 | sed -e 's|^.\*.||' -e 's| \*||' > LICENSE
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS CHANGES LICENSE NEWS README.md RELEASE-NOTES TODO $PKG/usr/doc/$PRGNAM-$VERSION