summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-04-09 23:15:46 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:15:52 -0500
commit311360f31e32b6dca7c7d891cddd2219a234f7a8 (patch)
tree7188b72e26d28fbce60e20923aa2ea3dff19a1e6
parent88df4531500d73847415cc93b8a4f31efdb73ee9 (diff)
downloadslackbuilds-311360f31e32b6dca7c7d891cddd2219a234f7a8.tar.gz
libraries/c-ares: Removed (added to Slackware).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--libraries/c-ares/README3
-rw-r--r--libraries/c-ares/c-ares.SlackBuild85
-rw-r--r--libraries/c-ares/c-ares.info10
-rw-r--r--libraries/c-ares/slack-desc19
4 files changed, 0 insertions, 117 deletions
diff --git a/libraries/c-ares/README b/libraries/c-ares/README
deleted file mode 100644
index 24b19f7eeb..0000000000
--- a/libraries/c-ares/README
+++ /dev/null
@@ -1,3 +0,0 @@
-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.
diff --git a/libraries/c-ares/c-ares.SlackBuild b/libraries/c-ares/c-ares.SlackBuild
deleted file mode 100644
index 9a057c2b4a..0000000000
--- a/libraries/c-ares/c-ares.SlackBuild
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for c-ares
-
-# Written by Larry Hajali
-# Currently Maintained by Kent Fritz <fritz.kent@gmail.com>
-
-PRGNAM=c-ares
-VERSION=${VERSION:-1.16.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir=/usr/man \
- --disable-static \
- --disable-debug \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-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 INSTALL.md LICENSE LICENSE.md NEWS README.cares \
- README.md README.msvc RELEASE-NOTES RELEASE-PROCEDURE.md TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-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.${PKGTYPE:-tgz}
diff --git a/libraries/c-ares/c-ares.info b/libraries/c-ares/c-ares.info
deleted file mode 100644
index 5ba5cf6226..0000000000
--- a/libraries/c-ares/c-ares.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="c-ares"
-VERSION="1.16.1"
-HOMEPAGE="https://c-ares.haxx.se/"
-DOWNLOAD="https://c-ares.haxx.se/download/c-ares-1.16.1.tar.gz"
-MD5SUM="62dece8675590445d739b23111d93692"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Kent Fritz"
-EMAIL="fritz.kent@gmail.com"
diff --git a/libraries/c-ares/slack-desc b/libraries/c-ares/slack-desc
deleted file mode 100644
index 4a25e59c02..0000000000
--- a/libraries/c-ares/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-c-ares: c-ares (C library for DNS requests)
-c-ares:
-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: https://c-ares.haxx.se/
-c-ares:
-c-ares:
-c-ares:
-c-ares: