components/gnome/libsoup/Makefile
author Niveditha Rau <Niveditha.Rau@Oracle.COM>
Tue, 14 Jun 2016 14:33:34 -0700
changeset 6212 7a67a08c24cb
child 7527 352b7a456c30
permissions -rw-r--r--
23245341 Move libsoup to Userland and update to 2.52
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6212
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     1
#
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     3
#
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     7
#
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    12
#
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    18
#
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    20
#
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    21
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    22
#
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    23
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    24
#
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    25
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    26
BUILD_BITS= 32_and_64
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    27
# All components using gobject-introspection must be built with gcc as
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    28
# gobject-introspection does not produce correct results when using Studio.
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    29
COMPILER=gcc
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    30
include ../../../make-rules/shared-macros.mk
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    31
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_NAME=		libsoup
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_VERSION=	2.52.0
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    34
COMPONENT_PROJECT_URL=	https://wiki.gnome.org/Projects/libsoup
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    35
COMPONENT_ARCHIVE_HASH=	\
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    36
    sha256:6c6c366622a1a9d938e0cea9b557fa536f088784251d31381ccd1b115a466785
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    37
COMPONENT_BUGDB=	gnome/libraries
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    38
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    39
TPNO=			24900
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    40
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    41
# Needs gobject-introspection, not available on S11.
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    42
ifeq ($(BUILD_TYPE), evaluation)
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    43
BUILD_32_and_64=
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    44
INSTALL_32_and_64=
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    45
PUBLISH_STAMP=
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    46
endif
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    47
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    48
include $(WS_MAKE_RULES)/gnome-component.mk
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    49
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    50
# Assumes GNU xgettext in PATH
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    51
CONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    52
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    53
CONFIGURE_OPTIONS += --disable-static
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    54
# Required for other components.
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    55
CONFIGURE_OPTIONS += --enable-introspection
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    56
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    57
# for the tests
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    58
unexport SHELLOPTS
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    59
COMPONENT_PRE_CONFIGURE_ACTION += ($(CLONEY) $(SOURCE_DIR) $(@D));
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    60
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-$(MACH)-$(BITS).master
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    61
COMPONENT_TEST_ARGS =   -k -i
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    62
COMPONENT_TEST_TRANSFORMS += \
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    63
        '-n ' \
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    64
        '-e "/TOTAL:/p" ' \
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    65
        '-e "/SKIP:/p" ' \
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    66
        '-e "/PASS:/p" ' \
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    67
        '-e "/FAIL:/p" ' \
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    68
        '-e "/ERROR:/p" '
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    69
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    70
REQUIRED_PACKAGES += database/sqlite-3
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    71
REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    72
REQUIRED_PACKAGES += developer/gnome/gettext
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    73
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    74
REQUIRED_PACKAGES += library/glib-networking
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    75
REQUIRED_PACKAGES += library/glib2
7a67a08c24cb 23245341 Move libsoup to Userland and update to 2.52
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    76
REQUIRED_PACKAGES += library/libxml2