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