diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2020-09-04 12:09:35 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-09-05 08:26:46 +0700 |
commit | 95c615f37c5c6b4fc8097e0945ad9287f7aa2480 (patch) | |
tree | f32b93d41482ebb21192d798a9b2c68c3fb3651b /libraries/adns | |
parent | 503f88d151a973087c8a4cbd2e6dd32efbdb5900 (diff) |
libraries/adns: Updated for version 1.6.0.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/adns')
-rw-r--r-- | libraries/adns/adns.SlackBuild | 10 | ||||
-rw-r--r-- | libraries/adns/destdir.patch.gz | bin | 948 -> 0 bytes | |||
-rw-r--r-- | libraries/adns/slack-desc | 2 |
3 files changed, 8 insertions, 4 deletions
diff --git a/libraries/adns/adns.SlackBuild b/libraries/adns/adns.SlackBuild index 2a902394d18f..98a8bb8e6db7 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 Binary files differdeleted file mode 100644 index 49282ce9f0de..000000000000 --- a/libraries/adns/destdir.patch.gz +++ /dev/null diff --git a/libraries/adns/slack-desc b/libraries/adns/slack-desc index f712f29b06c2..3b516d5c945e 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: |