diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2010-05-13 00:28:55 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:28:55 +0200 |
commit | f72b7f7c735b2d0079659aba5ccd8ece0dda6d6e (patch) | |
tree | eef82d28549fbc21d79e7b2ec1b737360ccb4493 /libraries/c-ares/c-ares.SlackBuild | |
parent | 193729451bc66bcdf84b0ac5ac40f6dc980d8b61 (diff) | |
download | slackbuilds-f72b7f7c735b2d0079659aba5ccd8ece0dda6d6e.tar.gz |
libraries/c-ares: Updated for version 1.7.0
Diffstat (limited to 'libraries/c-ares/c-ares.SlackBuild')
-rw-r--r-- | libraries/c-ares/c-ares.SlackBuild | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/libraries/c-ares/c-ares.SlackBuild b/libraries/c-ares/c-ares.SlackBuild index 59e4a5f6b6..141b7f1ca2 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} |