commit:     548aa30eccc8723f44833e094138d7503472a61a
Author:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 14 09:59:51 2020 +0000
Commit:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
CommitDate: Sun Jun 14 10:00:20 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=548aa30e

net-misc/axel: 2.17.9 version bump.

Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>

 net-misc/axel/Manifest           |  1 +
 net-misc/axel/axel-2.17.9.ebuild | 41 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/net-misc/axel/Manifest b/net-misc/axel/Manifest
index 4c4c4c48fb7..a6f00fc8a3f 100644
--- a/net-misc/axel/Manifest
+++ b/net-misc/axel/Manifest
@@ -1 +1,2 @@
 DIST axel-2.17.8.tar.xz 201224 BLAKE2B 
0a10187013aa888ae8fa7f165b88955f5a7d63241157f552778c042eaecc7873e10e27537a8c7a26a09df5e655097845037f23a6c39f4d46328d633f944a316a
 SHA512 
9158cc0f1c7b54d84e5c15331ddcf6056b5eb654c0ad068e058eedbea99bb87c1b2e759b57872a86d76d83d6807500989ad6bbf87f1c0210db2d4dab100933ea
+DIST axel-2.17.9.tar.xz 204212 BLAKE2B 
8ec63a5ccf73bf8e17c559b7fbce08ee926b0001b1d6f8ea09cbe1a7c600ceba69b6b6ecd19f989da333b57ed11e9a93913b2fa520d7e56b7d796cf18dcb9f1a
 SHA512 
a0cabf43f451d61f4b1f4892a381fd5cf4088f7148502bf4e27d1c98177c3777bab9b732780cb9ba60c45aeead6cf9b79f870ac16db7148180f26350e69d8b01

diff --git a/net-misc/axel/axel-2.17.9.ebuild b/net-misc/axel/axel-2.17.9.ebuild
new file mode 100644
index 00000000000..dad9472d967
--- /dev/null
+++ b/net-misc/axel/axel-2.17.9.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Light Unix download accelerator"
+HOMEPAGE="https://github.com/axel-download-accelerator/axel";
+SRC_URI="https://github.com/axel-download-accelerator/axel/releases/download/v${PV}/${P}.tar.xz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug libressl nls ssl"
+
+CDEPEND="
+       ssl? (
+               !libressl? ( dev-libs/openssl:0= )
+               libressl? ( dev-libs/libressl:0= )
+       )
+"
+DEPEND="${CDEPEND}
+       nls? ( sys-devel/gettext )"
+RDEPEND="${CDEPEND}
+       nls? ( virtual/libintl virtual/libiconv )"
+
+DOCS=( doc/. )
+
+src_configure() {
+       econf \
+               $(use_enable nls) \
+               $(use_with ssl)
+}
+
+pkg_postinst() {
+       einfo 'To use axel with Portage, one can configure make.conf with:'
+       einfo
+       einfo 'FETCHCOMMAND="axel --timeout=30 --alternate --no-clobber 
--output=\"\${DISTDIR}/\${FILE}\" \"\${URI}\""'
+       einfo 'RESUMECOMMAND="axel --timeout=30 --alternate --no-clobber 
--output=\"\${DISTDIR}/\${FILE}\" \"\${URI}\""'
+}

Reply via email to