summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Jostein Berntsen2018-10-03 12:32:29 +0200
committer Willy Sudiarto Raharjo2018-10-06 02:25:17 +0200
commit48fce7e2564ac3ee52c55b8d8af6b05eb8652a66 (patch)
treea7ce1467074a2aca11da471abb685f38d51e0a0e
parentfa73198d2529dc2472460e722db4402c1df6d481 (diff)
downloadslackbuilds-48fce7e2564ac3ee52c55b8d8af6b05eb8652a66.tar.gz
network/axel: Updated for version 2.16.1 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--network/axel/README7
-rw-r--r--network/axel/axel.SlackBuild17
-rw-r--r--network/axel/axel.info10
-rw-r--r--network/axel/doinst.sh2
4 files changed, 15 insertions, 21 deletions
diff --git a/network/axel/README b/network/axel/README
index e3133b8dd2..a1f6e0a8e7 100644
--- a/network/axel/README
+++ b/network/axel/README
@@ -1,4 +1,7 @@
-Axel tries to accelerate HTTP/FTP downloading process by using multiple
+Axel accelerates the HTTP/FTP downloading process by using multiple
connections for one file. It can use multiple mirrors for a download. Axel
has no dependencies and is lightweight, so it might be useful as a wget
-clone on byte-critical systems.
+clone on byte-critical systems. Axel is the perfect utility for those
+connections to wherever you are downloading from that may have a limit
+on ftp stream speeds, http sessions that burst and slow down, or servers
+with a slow connection.
diff --git a/network/axel/axel.SlackBuild b/network/axel/axel.SlackBuild
index 9c5d38a8c3..0aade59487 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
diff --git a/network/axel/axel.info b/network/axel/axel.info
index 33aeca9ac5..198a1d4bf5 100644
--- a/network/axel/axel.info
+++ b/network/axel/axel.info
@@ -1,10 +1,10 @@
PRGNAM="axel"
-VERSION="2.4"
+VERSION="2.16.1"
HOMEPAGE="https://github.com/axel-download-accelerator/axel"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/axel-2.4.tar.gz"
-MD5SUM="a2a762fce0c96781965c8f9786a3d09d"
+DOWNLOAD="https://github.com/axel-download-accelerator/axel/releases/download/v2.16.1/axel-2.16.1.tar.gz"
+MD5SUM="407f0c5850f5ea3355bf724d5392771b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Matthew Fillpot"
-EMAIL="mfilpot@gmail.com"
+MAINTAINER="Jostein Berntsen"
+EMAIL="jbernts@broadpark.no"
diff --git a/network/axel/doinst.sh b/network/axel/doinst.sh
index 4247863758..fa6f314c12 100644
--- a/network/axel/doinst.sh
+++ b/network/axel/doinst.sh
@@ -11,4 +11,4 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider...
}
-config etc/axelrc.new
+config etc/axelrc.new