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) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
22 # Copyright 2022 Friedrich Kink
27 include ..
/..
/..
/make-rules
/shared-macros.mk
30 COMPONENT_VERSION
= 0.32.5
32 COMPONENT_SUMMARY
= Neon is a HTTP and WebDAV client library with a C interface
33 COMPONENT_PROJECT_URL
= https
://notroj.github.io
/$(COMPONENT_NAME
)
34 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
35 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
36 COMPONENT_ARCHIVE_HASH
= sha256
:4872e12f802572dedd4b02f870065814b2d5141f7dbdaf708eedab826b51a58a
37 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/$(COMPONENT_ARCHIVE
)
38 COMPONENT_FMRI
= library
/neon
39 COMPONENT_CLASSIFICATION
= System
/Libraries
40 COMPONENT_LICENSE
= GPLv2
42 include $(WS_MAKE_RULES
)/common.mk
44 COMPONENT_PRE_CONFIGURE_ACTION
+= ( $(CLONEY
) $(SOURCE_DIR
) $(@D
); )
46 CPPFLAGS
+= $(CPP_LARGEFILES
)
48 CONFIGURE_ENV
+= CPPFLAGS
="$(CPPFLAGS)"
50 CONFIGURE_OPTIONS
+= --localstatedir
=/var
51 CONFIGURE_OPTIONS
+= --mandir=/usr
/share
/man
52 CONFIGURE_OPTIONS
+= --infodir=/usr
/share
/info
53 CONFIGURE_OPTIONS
+= --enable-shared
54 CONFIGURE_OPTIONS
+= --disable-static
55 CONFIGURE_OPTIONS
+= --enable-webdav
56 CONFIGURE_OPTIONS
+= --enable-threadsafe-ssl
=posix
57 CONFIGURE_OPTIONS
+= --enable-nls
58 CONFIGURE_OPTIONS
+= --disable-warnings
59 CONFIGURE_OPTIONS
+= --disable-ld-version-script
60 CONFIGURE_OPTIONS
+= --with-zlib
61 CONFIGURE_OPTIONS
+= --with-ssl
=openssl
62 CONFIGURE_OPTIONS
+= --with-libproxy
63 CONFIGURE_OPTIONS
+= --with-gssapi
64 CONFIGURE_OPTIONS
+= --with-libxml2
65 CONFIGURE_OPTIONS
+= --with-expat
66 CONFIGURE_OPTIONS
+= --with-pic
68 COMPONENT_TEST_ENV
+= PATH
="$(PATH.gnu)"
69 COMPONENT_TEST_TRANSFORMS
= \
73 ' -e "/WARNING:/p" ' \
76 # Auto-generated dependencies
77 REQUIRED_PACKAGES
+= library
/expat
78 REQUIRED_PACKAGES
+= library
/libproxy
79 REQUIRED_PACKAGES
+= library
/security
/openssl-31
80 REQUIRED_PACKAGES
+= library
/zlib
81 REQUIRED_PACKAGES
+= shell/ksh93
82 REQUIRED_PACKAGES
+= system
/library
83 REQUIRED_PACKAGES
+= system
/library
/security
/gss