SUMMARY="Light Unix download accelerator" DESCRIPTION="Axel tries to accelerate 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." HOMEPAGE="https://github.com/axel-download-accelerator/axel" COPYRIGHT="2001-2007 Wilmer van der Gaast, 2007-2009 Giridhar Appaji Nag, 2008-2010 Philipp Hagemeister, 2015-2017 Joao Eriberto Mota Filho, 2016-2017 Stephen Thirlwall, 2017 Ismael Luceno, 2017 Antonio Quartulli, and others." LICENSE="GNU GPL v2" REVISION="2" SOURCE_URI="https://github.com/axel-download-accelerator/axel/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="584ab6eed53315ff817eabd73bed0468ce27a0582d076ab2d169d6430a13b252" SOURCE_FILENAME="axel-$portVersion.tar.gz" PATCHES="axel-$portVersion.patchset" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" commandSuffix=$secondaryArchSuffix commandBinDir=$binDir if [ "$targetArchitecture" = x86_gcc2 ]; then commandSuffix= commandBinDir=$prefix/bin fi PROVIDES=" axel$secondaryArchSuffix = $portVersion cmd:axel$commandSuffix = $portVersion " REQUIRES=" haiku$secondaryArchSuffix lib:libcrypto$secondaryArchSuffix lib:libintl$secondaryArchSuffix lib:libssl$secondaryArchSuffix " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libcrypto$secondaryArchSuffix >= 3 devel:libiconv$secondaryArchSuffix devel:libintl$secondaryArchSuffix devel:libssl$secondaryArchSuffix >= 3 " BUILD_PREREQUIRES=" autoconf_archive cmd:aclocal cmd:autoconf cmd:awk cmd:find cmd:gcc$secondaryArchSuffix cmd:gettext$secondaryArchSuffix cmd:make cmd:pkg_config$secondaryArchSuffix cmd:txt2man " BUILD() { autoreconf -fi CFLAGS=-Wno-error runConfigure --omit-dirs binDir \ ./configure --bindir="$commandBinDir" make $jobArgs } INSTALL() { make install-strip } TEST() { make check }