libraries/c-ares: Updated for version 1.7.0

This commit is contained in:
Larry Hajali 2010-05-13 00:28:55 +02:00 committed by David Somero
parent 193729451b
commit f72b7f7c73
3 changed files with 17 additions and 9 deletions

View file

@ -1,3 +1,3 @@
c-ares is a C library that performs DNS requests and name resolves
asynchronously. c-ares is a fork of the original library named 'ares',
written by Greg Hudson at MIT.
written by Greg Hudson at MIT.

View file

@ -5,9 +5,9 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=c-ares
VERSION=${VERSION:-1.6.0}
VERSION=${VERSION:-1.7.0}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@ -48,12 +48,18 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--disable-static \
--enable-shared \
--disable-debug \
--build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
make install DESTDIR=$PKG
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "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 {} \;
@ -71,4 +77,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -1,8 +1,10 @@
PRGNAM="c-ares"
VERSION="1.6.0"
VERSION="1.7.0"
HOMEPAGE="http://c-ares.haxx.se/"
DOWNLOAD="http://c-ares.haxx.se/c-ares-1.6.0.tar.gz"
MD5SUM="4503b0db3dd79d3c1f58d87722dbab46"
DOWNLOAD="http://c-ares.haxx.se/c-ares-1.7.0.tar.gz"
MD5SUM="15ab7852306b554b0b1145f41005a3bb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"
APPROVED="dsomero"