author | Rich Burridge <rich.burridge@oracle.com> |
Thu, 23 Feb 2017 13:46:52 -0800 | |
changeset 7687 | 1093e2a9adbd |
parent 7293 | a449e2e641be |
permissions | -rw-r--r-- |
6203
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
1 |
# |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
3 |
# |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
7 |
# |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
12 |
# |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
18 |
# |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
20 |
# |
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
7293
diff
changeset
|
21 |
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. |
6203
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
22 |
# |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
23 |
|
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
24 |
BUILD_BITS = 64_and_32 |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
25 |
# All components using gobject-introspection must be built with gcc as |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
26 |
# gobject-introspection does not produce correct results when using Studio. |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
27 |
COMPILER = gcc |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
28 |
include ../../../make-rules/shared-macros.mk |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
29 |
|
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
30 |
COMPONENT_NAME= uhttpmock |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
31 |
COMPONENT_VERSION= 0.5.0 |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
32 |
COMPONENT_PROJECT_URL= https://gitlab.com/uhttpmock/ |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
33 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
34 |
COMPONENT_ARCHIVE_HASH= \ |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
35 |
sha256:26da182a2db2579c5ba4dad9096d52099e0766228c295cfbaed6de4046f7d16e |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
36 |
COMPONENT_ARCHIVE_URL= https://tecnocode.co.uk/downloads/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE) |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
37 |
COMPONENT_BUGDB= library/uhttpmock |
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
7293
diff
changeset
|
38 |
COMPONENT_ANITYA_ID= 5036 |
6203
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
39 |
|
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
40 |
TPNO= 25615 |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
41 |
|
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
42 |
# Enable after libsoup is installed on the build servers |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
43 |
TEST_TARGET= $(SKIP_TEST) |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
44 |
|
7293
a449e2e641be
25049244 Undo the temporary Makefile changes made for getting gnome components to build
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
6203
diff
changeset
|
45 |
# Needs updated glib2, not available on S11. |
a449e2e641be
25049244 Undo the temporary Makefile changes made for getting gnome components to build
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
6203
diff
changeset
|
46 |
include $(WS_MAKE_RULES)/no-evaluation.mk |
6203
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
47 |
|
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
48 |
include $(WS_MAKE_RULES)/common.mk |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
49 |
|
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
50 |
# Tell g-ir-scanner not to cache results in homedir of user running the build |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
51 |
COMPONENT_BUILD_ENV += GI_SCANNER_DISABLE_CACHE="" |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
52 |
|
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
53 |
CONFIGURE_OPTIONS += --disable-static |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
54 |
CONFIGURE_OPTIONS += --enable-gtk-doc |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
55 |
# Required for other components. |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
56 |
CONFIGURE_OPTIONS += --enable-introspection |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
57 |
CONFIGURE_OPTIONS += --enable-shared |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
58 |
# Required for other components. |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
59 |
CONFIGURE_OPTIONS += --enable-vala |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
60 |
CONFIGURE_OPTIONS += --with-pic |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
61 |
|
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
62 |
REQUIRED_PACKAGES += library/glib2 |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
63 |
REQUIRED_PACKAGES += library/libsoup |
cfbde41b138f
23245668 Deliver uhttpmock 0.5.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
64 |
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime |