libraries/c-ares: Updated for version 1.12.0.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Kent Fritz 2016-11-24 21:36:14 +00:00 committed by Willy Sudiarto Raharjo
parent 421864d228
commit 5edd9a4249
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 9 additions and 10 deletions

View file

@ -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

View file

@ -1,8 +1,8 @@
PRGNAM="c-ares"
VERSION="1.11.0"
HOMEPAGE="http://c-ares.haxx.se/"
DOWNLOAD="http://c-ares.haxx.se/download/c-ares-1.11.0.tar.gz"
MD5SUM="d5c6d522cfc54bb6f215a0b7912d46be"
VERSION="1.12.0"
HOMEPAGE="https://c-ares.haxx.se/"
DOWNLOAD="https://c-ares.haxx.se/download/c-ares-1.12.0.tar.gz"
MD5SUM="2ca44be1715cd2c5666a165d35788424"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View file

@ -12,7 +12,7 @@ c-ares: c-ares is a C library that performs DNS requests and name resolves
c-ares: asynchronously. c-ares is a fork of the original library named 'ares',
c-ares: written by Greg Hudson at MIT.
c-ares:
c-ares: Homepage: http://c-ares.haxx.se/
c-ares: Homepage: https://c-ares.haxx.se/
c-ares:
c-ares:
c-ares: