aboutsummaryrefslogtreecommitdiff
path: root/libraries/c-ares
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-05-13 00:28:55 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:28:55 +0200
commitf72b7f7c735b2d0079659aba5ccd8ece0dda6d6e (patch)
treeeef82d28549fbc21d79e7b2ec1b737360ccb4493 /libraries/c-ares
parent193729451bc66bcdf84b0ac5ac40f6dc980d8b61 (diff)
libraries/c-ares: Updated for version 1.7.0
Diffstat (limited to 'libraries/c-ares')
-rw-r--r--libraries/c-ares/README2
-rw-r--r--libraries/c-ares/c-ares.SlackBuild16
-rw-r--r--libraries/c-ares/c-ares.info8
3 files changed, 17 insertions, 9 deletions
diff --git a/libraries/c-ares/README b/libraries/c-ares/README
index bf9bbb5c09da..24b19f7eebb0 100644
--- a/libraries/c-ares/README
+++ b/libraries/c-ares/README
@@ -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. \ No newline at end of file
+written by Greg Hudson at MIT.
diff --git a/libraries/c-ares/c-ares.SlackBuild b/libraries/c-ares/c-ares.SlackBuild
index 59e4a5f6b621..141b7f1ca2ad 100644
--- a/libraries/c-ares/c-ares.SlackBuild
+++ b/libraries/c-ares/c-ares.SlackBuild
@@ -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}
diff --git a/libraries/c-ares/c-ares.info b/libraries/c-ares/c-ares.info
index 27f9e7a44a92..711cf18e851e 100644
--- a/libraries/c-ares/c-ares.info
+++ b/libraries/c-ares/c-ares.info
@@ -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"