the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: aria2
Version: 1.14.0
Revision: 1
Description: Downloader for HTTP/FTP/BitTorrent/Metalink
Homepage: http://aria2.sourceforge.net/
License: GPL
Maintainer: Daniel Johnson
DescDetail: <<
aria2 is a utility for downloading files. The supported protocols are
HTTP(S), FTP, BitTorrent (DHT, PEX, MSE/PE), and Metalink.
It can download one or more files individually or from multiple
sources/protocols at the same time and tries to utilize your maximum
download bandwidth (by using multiple threads and downloading data from
HTTP(S)/FTP, while also uploading to the BitTorrent swarm).
Using Metalink's chunk checksums, aria2 automatically validates chunks
of data while downloading a file like BitTorrent.
There are other alternative applications. But aria2 has 2 distinctive
features: (1) aria2 can download a file from several
URLs(http/ftp/BitTorrent) and (2) If you give aria2 list of URLs, then
aria2 downloads them concurrently. You don't have to wait for the
current download queue to finish one file at a time anymore. aria2 uses
your maximum bandwidth and downloads files quickly.
<<
DescPort: <<
Set ZLIB_LIBS manually to avoid a spurious -L/usr/lib.
Set ZLIB_CFLAGS to point to system-openssl since it gets added first
to CPPFLAGS and --with-openssl-prefix doesn't do anything useful.
<<
Source: mirror:sourceforge:%n/%n-%v.tar.bz2
Source-MD5: 577b3b5f19c28de4451cd1a32de76eeb
Depends: <<
ca-bundle,
libcares2-shlibs (>= 1.7.4-1),
libgettext8-shlibs,
libiconv,
libxml2-shlibs,
sqlite3-shlibs
<<
BuildDepends: <<
fink (>= 0.24.12),
gettext-tools,
libcares2 (>= 1.7.4-1),
libgettext8-dev,
libiconv-dev,
libxml2,
pkgconfig,
sqlite3-dev,
system-openssl-dev
<<
Conflicts: aria2c (<< 1.1.2-1)
Replaces: aria2c (<< 1.1.2-1)
SetCXXFLAGS: -Os
NoSetLDFLAGS: true
SetLDFLAGS: -L%p/lib/system-openssl/lib -L%p/lib
GCC: 4.0
UseMaxBuildJobs: true
ConfigureParams: <<
--disable-dependency-tracking \
--without-gnutls \
--with-ca-bundle='%p/etc/ssl/certs/ca-bundle.crt' \
--with-sqlite3-prefix=%p \
--with-openssl-prefix=%p/lib/system-openssl \
--with-libcares-prefix=%p \
ZLIB_LIBS="-lz" ZLIB_CFLAGS="-I%p/lib/system-openssl/include"
<<
# Disabling tests for now because some firewall configs can cause hangs.
# InfoTest: <<
# TestDepends: cppunit1.10.2
# TestScript: <<
# perl -pi -e 's/#include
# make check || exit 2
# <<
# <<
InstallScript: <<
make install DESTDIR=%d
mkdir -p %i/etc/bash_completion.d
cp doc/bash_completion/aria2c %i/etc/bash_completion.d
<<
DocFiles: AUTHORS ChangeLog COPYING LICENSE.OpenSSL NEWS