aboutsummaryrefslogtreecommitdiff
path: root/network/axel/axel.SlackBuild
diff options
context:
space:
mode:
authorJostein Berntsen <jbernts@broadpark.no>2018-10-03 11:32:29 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-10-06 07:25:17 +0700
commit48fce7e2564ac3ee52c55b8d8af6b05eb8652a66 (patch)
treea7ce1467074a2aca11da471abb685f38d51e0a0e /network/axel/axel.SlackBuild
parentfa73198d2529dc2472460e722db4402c1df6d481 (diff)
network/axel: Updated for version 2.16.1 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/axel/axel.SlackBuild')
-rw-r--r--network/axel/axel.SlackBuild17
1 files changed, 4 insertions, 13 deletions
diff --git a/network/axel/axel.SlackBuild b/network/axel/axel.SlackBuild
index 9c5d38a8c308b..0aade59487cc1 100644
--- a/network/axel/axel.SlackBuild
+++ b/network/axel/axel.SlackBuild
@@ -4,6 +4,7 @@
# Copyright 2008 Antonio Hernández Blas <hba.nihilismus@gmail.com>
# Copyright 2011 Matthew "mfillpot" Fillpot
+# Copyright 2018 Jostein Berntsen <jbernts@broadpark.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=axel
-VERSION=${VERSION:-2.4}
+VERSION=${VERSION:-2.16.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,27 +74,17 @@ find -L . \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
- --etcdir=/etc \
- --mandir=/usr/man \
- --i18n=1 \
- --debug=0 \
- --strip=1
-
-# Edit Makefile.settings to make use of CFLAGS.
-sed -i 's/^CFLAGS=/CFLAGS+=/' Makefile.settings
+ --mandir=/usr/man
CFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-# Don't clobber an existing config file
-mv $PKG/etc/axelrc $PKG/etc/axelrc.new
-
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a API CHANGES COPYING CREDITS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ABOUT-NLS AUTHORS CONTRIBUTING.md COPYING CREDITS INSTALL NEWS README VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install