mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
79 lines
1.9 KiB
Bash
79 lines
1.9 KiB
Bash
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="3"
|
|
SOURCE_URI="https://github.com/axel-download-accelerator/axel/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="64529add74df3db828f704b42d4ec3fcdacb8142c84f051f9213637c337e706c"
|
|
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
|
|
devel:libiconv$secondaryArchSuffix
|
|
devel:libgettextlib$secondaryArchSuffix
|
|
devel:libssl$secondaryArchSuffix
|
|
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:awk
|
|
cmd:find
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:gettext$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
touch man/axel.1
|
|
autoreconf -i
|
|
runConfigure --omit-dirs binDir ./configure --bindir="$commandBinDir"
|
|
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install-strip
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|