summaryrefslogtreecommitdiff
path: root/libraries/adns
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-10-11 17:48:32 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-10-17 09:37:01 +0700
commitde0e93733f08dbe5e5c8bd1145fb5ea2678b3ff6 (patch)
treee42c2a14e00cdf39cd16e26822bc4c8b6767e1de /libraries/adns
parent7b5222731d911d92ce706ff96442798ec0521702 (diff)
downloadslackbuilds-de0e93733f08dbe5e5c8bd1145fb5ea2678b3ff6.tar.gz
libraries/adns: Fix slack-desc, template comments.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/adns')
-rw-r--r--libraries/adns/adns.SlackBuild4
-rw-r--r--libraries/adns/slack-desc2
2 files changed, 1 insertions, 5 deletions
diff --git a/libraries/adns/adns.SlackBuild b/libraries/adns/adns.SlackBuild
index 98a8bb8e6d..69aff465c8 100644
--- a/libraries/adns/adns.SlackBuild
+++ b/libraries/adns/adns.SlackBuild
@@ -27,7 +27,6 @@ VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -82,13 +81,11 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
-# Compile the application and install it into the $PKG directory
make
make install DESTDIR=$PKG
find $PKG -name \*\.a -type f -delete
-# Copy program documentation into the package
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
COPYING GPL-vs-LGPL NEWS README TODO \
@@ -98,6 +95,5 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-# Make the package; be sure to leave it in $OUTPUT
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/adns/slack-desc b/libraries/adns/slack-desc
index 3b516d5c94..6307d33542 100644
--- a/libraries/adns/slack-desc
+++ b/libraries/adns/slack-desc
@@ -6,7 +6,7 @@
# leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
-adns: GNU adns (asynchronous DNS client library and utilities)
+adns: adns (asynchronous DNS client library and utilities)
adns:
adns: GNU adns is a C library that provides easy-to-use DNS resolution
adns: functionality. The library is asynchronous, allowing several