From 95c615f37c5c6b4fc8097e0945ad9287f7aa2480 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Fri, 4 Sep 2020 12:09:35 +0100 Subject: libraries/adns: Updated for version 1.6.0. Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- libraries/adns/adns.SlackBuild | 10 +++++++--- libraries/adns/destdir.patch.gz | Bin 948 -> 0 bytes libraries/adns/slack-desc | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) delete mode 100644 libraries/adns/destdir.patch.gz (limited to 'libraries/adns') diff --git a/libraries/adns/adns.SlackBuild b/libraries/adns/adns.SlackBuild index 2a902394d1..98a8bb8e6d 100644 --- a/libraries/adns/adns.SlackBuild +++ b/libraries/adns/adns.SlackBuild @@ -24,9 +24,10 @@ PRGNAM=adns VERSION=${VERSION:-1.6.0} -BUILD=${BUILD:-1} +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 ;; @@ -69,8 +70,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -zcat $CWD/destdir.patch.gz | patch -p1 - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -83,9 +82,13 @@ 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 \ @@ -95,5 +98,6 @@ 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/destdir.patch.gz b/libraries/adns/destdir.patch.gz deleted file mode 100644 index 49282ce9f0..0000000000 Binary files a/libraries/adns/destdir.patch.gz and /dev/null differ diff --git a/libraries/adns/slack-desc b/libraries/adns/slack-desc index f712f29b06..3b516d5c94 100644 --- a/libraries/adns/slack-desc +++ b/libraries/adns/slack-desc @@ -13,7 +13,7 @@ adns: functionality. The library is asynchronous, allowing several adns: concurrent calls. The package also includes several command-line adns: utilities for use in scripts. adns: -adns: The library is written by Ian Jackson. This is an official GNU +adns: The library is written by Ian Jackson. This is an official GNU adns: package. It's homepage is http://www.chiark.greenend.org.uk/~ian/adns adns: adns: -- cgit v1.2.3-65-gdbad