2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2016 Alexander Pyhalov
18 USE_DEFAULT_TEST_TRANSFORMS
= yes
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= libsoup
22 COMPONENT_MJR_VERSION
= 2.74
24 COMPONENT_VERSION
= $(COMPONENT_MJR_VERSION
).3
25 COMPONENT_SUMMARY
= Libsoup is an HTTP client
/server library for GNOME
26 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
27 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
28 COMPONENT_ARCHIVE_HASH
= sha256
:e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13
29 COMPONENT_ARCHIVE_URL
= https
://download.gnome.org
/sources
/$(COMPONENT_NAME
)/$(COMPONENT_MJR_VERSION
)/$(COMPONENT_ARCHIVE
)
30 COMPONENT_PROJECT_URL
= https
://www.gnome.org
31 COMPONENT_FMRI
= library
/libsoup
32 COMPONENT_CLASSIFICATION
= System
/Libraries
33 COMPONENT_LICENSE
= LGPLv2
34 COMPONENT_LICENSE_FILE
= COPYING
36 include $(WS_MAKE_RULES
)/common.mk
38 # Make sure apachectl and https will be found
39 PATH
= $(PATH.gnu
):/usr
/apache2
/2.4/bin
44 COMPONENT_PRE_CONFIGURE_ACTION
= ( \
45 $(CP
) $(COMPONENT_DIR
)/files
/krb5-config
$(BUILD_DIR
) && \
46 chmod u
+x
$(BUILD_DIR
)/krb5-config
)
48 CONFIGURE_OPTIONS
+= -Dkrb5_config
=$(BUILD_DIR
)/krb5-config
49 CONFIGURE_OPTIONS
+= -Dsysprof
=disabled
50 CONFIGURE_OPTIONS
+= -Dgtk_doc
=true
52 # Manually added build dependencies
53 REQUIRED_PACKAGES
+= library
/glib-networking
54 TEST_REQUIRED_PACKAGES
+= service
/network
/samba
55 TEST_REQUIRED_PACKAGES
+= web
/server
/apache-24
57 # Auto-generated dependencies
58 REQUIRED_PACKAGES
+= database
/sqlite-3
59 REQUIRED_PACKAGES
+= library
/brotli
60 REQUIRED_PACKAGES
+= library
/glib2
61 REQUIRED_PACKAGES
+= library
/libpsl
62 REQUIRED_PACKAGES
+= library
/libxml2
63 REQUIRED_PACKAGES
+= library
/zlib
64 REQUIRED_PACKAGES
+= system
/library
65 REQUIRED_PACKAGES
+= system
/library
/security
/gss