diff options
author | Jostein Berntsen <jbernts@broadpark.no> | 2018-10-03 11:32:29 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-10-06 07:25:17 +0700 |
commit | 48fce7e2564ac3ee52c55b8d8af6b05eb8652a66 (patch) | |
tree | a7ce1467074a2aca11da471abb685f38d51e0a0e /network/axel/axel.SlackBuild | |
parent | fa73198d2529dc2472460e722db4402c1df6d481 (diff) | |
download | slackbuilds-48fce7e2564ac3ee52c55b8d8af6b05eb8652a66.tar.gz |
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.SlackBuild | 17 |
1 files changed, 4 insertions, 13 deletions
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 |