components/desktop/libgtkspell/Makefile
author Craig Mohrman <craig.mohrman@oracle.com>
Mon, 18 Apr 2016 13:01:02 -0700
changeset 5797 432ac76de3b0
parent 5682 94c0ca64c022
child 6036 36742f94998f
permissions -rw-r--r--
23078956 adjust the remainder of the userland components to use perl 5.22 22909079 resume testing in several perl modules 22909338 xml-parsers pkg manifests should be cleaned up once 5.12 threaded is gone 23051223 dbd-sqlite's clobber doesn't remove generated DBD-SQLite.license file 23057814 graphviz perl package depends on other obsolete perl packages 22991554 DBD-SQLite has an unlisted build dependency on library/perl-5/database et al
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5235
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
#
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
#
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
#
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
#
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
#
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    20
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5528
diff changeset
    21
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5528
diff changeset
    22
#
5528
f2f5af510081 22846381 do not publish libgtkspell when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5235
diff changeset
    23
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
5235
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    24
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5528
diff changeset
    25
BUILD_BITS= 64_and_32
5235
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    26
include ../../../make-rules/shared-macros.mk
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		gtkspell
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    29
COMPONENT_VERSION=	2.0.16
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    30
COMPONENT_PROJECT_URL=	http://gtkspell.sourceforge.net/
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_HASH= \
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    32
    sha256:8fc7dc560167b2cb7193e76aca625a152dc19b0ebf49816b78539cbb90d80d02
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)/download/$(COMPONENT_ARCHIVE)
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    34
COMPONENT_BUGDB=	library/gtkspell
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    35
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    36
TPNO=			11953
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    37
5528
f2f5af510081 22846381 do not publish libgtkspell when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5235
diff changeset
    38
# Was not version-lock'd in Desktop, so cannot be upgraded to.
f2f5af510081 22846381 do not publish libgtkspell when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5235
diff changeset
    39
ifeq ($(BUILD_TYPE), evaluation)
f2f5af510081 22846381 do not publish libgtkspell when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5235
diff changeset
    40
BUILD_32_and_64=
f2f5af510081 22846381 do not publish libgtkspell when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5235
diff changeset
    41
INSTALL_32_and_64=
f2f5af510081 22846381 do not publish libgtkspell when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5235
diff changeset
    42
PUBLISH_STAMP=
f2f5af510081 22846381 do not publish libgtkspell when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5235
diff changeset
    43
endif
f2f5af510081 22846381 do not publish libgtkspell when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5235
diff changeset
    44
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5528
diff changeset
    45
TEST_TARGET= $(NO_TESTS)
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5528
diff changeset
    46
include $(WS_MAKE_RULES)/common.mk
5235
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    47
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    48
# Needed to pick up the GNU version of xgettext.
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5528
diff changeset
    49
PATH =		$(GNUBIN):$(USRBINDIR)
5235
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    50
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    51
COMPONENT_PREP_ACTION = \
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    52
	(cd $(@D) ; \
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    53
	libtoolize --force --copy ; \
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    54
	aclocal -I . ; \
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    55
	libtoolize --force ; \
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    56
	autoheader ; \
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    57
	automake -a -c -f ; \
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    58
	autoconf )
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    59
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    60
ASLR_MODE =	$(ASLR_ENABLE)
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    61
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    62
REQUIRED_PACKAGES += library/desktop/gtk2
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    63
REQUIRED_PACKAGES += library/glib2
5797
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    64
REQUIRED_PACKAGES += library/perl-5/xml-parser
5235
067b04ef352f 22354433 Move gtkspell from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    65
REQUIRED_PACKAGES += library/spell-checking/enchant