diff options
Diffstat (limited to 'libraries/c-ares/c-ares.SlackBuild')
-rw-r--r-- | libraries/c-ares/c-ares.SlackBuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libraries/c-ares/c-ares.SlackBuild b/libraries/c-ares/c-ares.SlackBuild index 4e69752b2c9f1..9a634e9d02536 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 |