4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
21 # Copyright (c) 2016 Predrag Zečević
22 # Copyright (c) 2020 Michal Nowak
26 USE_DEFAULT_TEST_TRANSFORMS
= yes
27 include ..
/..
/..
/make-rules
/shared-macros.mk
30 COMPONENT_VERSION
= 1.37.0
31 COMPONENT_SUMMARY
= aria2
- lightweight multi-protocol and multi-source download utility
32 COMPONENT_PROJECT_URL
= https
://aria2.github.io
/
33 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
34 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
35 COMPONENT_ARCHIVE_HASH
= sha256
:60a420ad7085eb616cb6e2bdf0a7206d68ff3d37fb5a956dc44242eb2f79b66b
36 COMPONENT_ARCHIVE_URL
= https
://github.com
/aria2
/aria2
/releases
/download
/release-
$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
37 COMPONENT_FMRI
= web
/aria2
38 COMPONENT_CLASSIFICATION
= Applications
/Internet
39 COMPONENT_LICENSE
= GPLv3
41 include $(WS_MAKE_RULES
)/common.mk
45 LDFLAGS
+= -lsocket
-lnsl
47 CONFIGURE_OPTIONS
+= --disable-static
48 CONFIGURE_OPTIONS
+= --with-ca-bundle
=/etc
/certs
/ca-certificates.crt
49 CONFIGURE_OPTIONS
+= --with-bashcompletiondir
=/usr
/share
/bash-completion
/completions
/
51 CONFIGURE_ENV
+= LD_OPTIONS
="$(LD_OPTIONS)"
53 COMPONENT_TEST_ENV
+= LD_OPTIONS
="$(LD_OPTIONS)"
55 # We have one failing test (from test-suite.log):
56 # 09/26 19:19:47 [INFO] Processing metaurl group metaurl=README.torrent
57 # 09/26 19:19:47 [ERROR] Unrecognized URI or unsupported protocol: README.torrent
59 # cppunit is for tests
60 REQUIRED_PACKAGES
+= developer
/cppunit
62 # Auto-generated dependencies
63 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
64 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
65 REQUIRED_PACKAGES
+= database
/sqlite-3
66 REQUIRED_PACKAGES
+= library
/gmp
67 REQUIRED_PACKAGES
+= library
/gnutls-3
68 REQUIRED_PACKAGES
+= library
/libcares
69 REQUIRED_PACKAGES
+= library
/libssh2
70 REQUIRED_PACKAGES
+= library
/libxml2
71 REQUIRED_PACKAGES
+= library
/nettle
72 REQUIRED_PACKAGES
+= library
/zlib
73 REQUIRED_PACKAGES
+= system
/library
74 REQUIRED_PACKAGES
+= system
/library
/math