36e400e07e
Chngelog: Changes ------- * Supported network-path reference in HTTP redirect. * Updated bash_completion. * aria2 now doesn't assume download has completed just because file size matched. The only exception is zero-length file. If server tells that file is zero-length and --checksum option is given, aria2 now correctly checks its checksum. There is one known issue: If downloaded file is zero-length file and .aria2 file exists, it will not be deleted on successful verification, because .aria2 file is not loaded. * Fixed the bug that --checksum is not working. SFBUG#3466888 * Fixed compile error without libnettle, libgcrypt and openssl. SFBUG#3466463 * Fixed the bug that log file is not created if there is warning before log file is opened.
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.31 2012/01/14 15:15:16 ryoon Exp $
|
|
#
|
|
|
|
DISTNAME= aria2-1.14.1
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aria2/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://aria2.sourceforge.net/
|
|
COMMENT= Multi-threaded, multi-protocol, flexible download accelerator
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LANGUAGES= c c++
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
CONFIGURE_ARGS+= --enable-bittorrent
|
|
CONFIGURE_ARGS+= --enable-metalink
|
|
CONFIGURE_ARGS+= --with-included-gettext=no
|
|
CONFIGURE_ARGS+= --with-libexpat
|
|
CONFIGURE_ARGS+= --without-libxml2
|
|
|
|
GCC_REQD+= 3.4
|
|
TEST_TARGET= check
|
|
USE_FEATURES= getopt_long snprintf
|
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
|
|
BUILDLINK_DEPMETHOD.cppunit= build
|
|
BUILDLINK_API_DEPENDS.cppunit+= cppunit>=1.10.2
|
|
. include "../../devel/cppunit/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-xmltest
|
|
.endif
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../net/libcares/buildlink3.mk"
|
|
.include "../../textproc/expat/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|