Marcel Telka
2022-01-31 b7ef23180b8258d99f0990e953e0eddbaaab32a5
commit | author | age
d513c6 1 #
AP 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
5 # 1.0 of the CDDL.
6 #
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.
10 #
11
12 #
75c104 13 # Copyright 2016 Alexander Pyhalov
d513c6 14 #
AP 15
86801c 16 BUILD_BITS= 32_and_64
MN 17
cefdf7 18 include ../../../make-rules/shared-macros.mk
d513c6 19
AP 20 COMPONENT_NAME= glib-networking
75c104 21 COMPONENT_VERSION= 2.42.0
86801c 22 COMPONENT_REVISION= 3
d513c6 23 COMPONENT_SUMMARY= Network-related giomodules for glib
AP 24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
75c104 25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
d513c6 26 COMPONENT_ARCHIVE_HASH= \
75c104 27   sha256:304dd9e4c0ced69094300e0b9e66cd2eaae7161b9fc3186536d11458677d820d
d513c6 28 COMPONENT_ARCHIVE_URL= \
b7ef23 29   https://download.gnome.org/sources/$(COMPONENT_NAME)/2.42/$(COMPONENT_ARCHIVE)
d513c6 30 COMPONENT_PROJECT_URL = http://www.gnome.org
75c104 31 COMPONENT_FMRI = library/glib-networking
AP 32 COMPONENT_CLASSIFICATION = System/Libraries
33 COMPONENT_LICENSE = LGPLv2
34 COMPONENT_LICENSE_FILE= COPYING
d513c6 35
86801c 36 TEST_TARGET= $(NO_TESTS)
8519f2 37
86801c 38 include $(WS_MAKE_RULES)/common.mk
d513c6 39
AP 40 CONFIGURE_OPTIONS += --sysconfdir=/etc
75c104 41 CONFIGURE_OPTIONS += --with-ca-certificates=/etc/certs/ca-certificates.crt
d513c6 42 CONFIGURE_OPTIONS.32 += --libexecdir=/usr/lib
AP 43 CONFIGURE_OPTIONS.64 += --libexecdir=/usr/lib/$(MACH64)
44
45 CONFIGURE_ENV += XGETTEXT=/usr/gnu/bin/xgettext
46 CONFIGURE_ENV += MSGFMT=/usr/gnu/bin/msgfmt
47
48 COMPONENT_INSTALL_ENV+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
49
50 # Tell g-ir-scanner about compiler
51 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
52 COMPONENT_BUILD_ENV += CC="$(CC)"
75c104 53
8519f2 54 REQUIRED_PACKAGES += library/desktop/p11-kit
75c104 55 REQUIRED_PACKAGES += library/glib2
8519f2 56 REQUIRED_PACKAGES += library/gnutls-3
75c104 57 REQUIRED_PACKAGES += library/libproxy
AP 58 REQUIRED_PACKAGES += system/library