6195N/A#
6195N/A# CDDL HEADER START
6195N/A#
6195N/A# The contents of this file are subject to the terms of the
6195N/A# Common Development and Distribution License (the "License").
6195N/A# You may not use this file except in compliance with the License.
6195N/A#
6195N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6195N/A# or http://www.opensolaris.org/os/licensing.
6195N/A# See the License for the specific language governing permissions
6195N/A# and limitations under the License.
6195N/A#
6195N/A# When distributing Covered Code, include this CDDL HEADER in each
6195N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6195N/A# If applicable, add the following below this CDDL HEADER, with the
6195N/A# fields enclosed by brackets "[]" replaced with your own identifying
6195N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6195N/A#
6195N/A# CDDL HEADER END
6195N/A#
6195N/A
6195N/A#
6195N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
6195N/A#
6195N/A
6195N/ABUILD_BITS = 64_and_32
6195N/ACOMPILER = gcc
6195N/Ainclude ../../../make-rules/shared-macros.mk
6195N/A
6195N/ACOMPONENT_NAME= lgi
6195N/ACOMPONENT_VERSION= 0.9.0
6195N/ACOMPONENT_PROJECT_URL= https://github.com/pavouk/lgi
6195N/ACOMPONENT_ARCHIVE_HASH= \
6195N/A sha256:87c7870f8a1c60b48c4d5587b7fab46863e1cb9e76a68520f47e9ef2764cfe24
6195N/ACOMPONENT_ARCHIVE_URL= https://github.com/pavouk/lgi/archive/$(COMPONENT_VERSION).tar.gz
6195N/ACOMPONENT_BUGDB= gnome/libraries
6195N/A
6195N/ATPNO= 27458
6195N/A
6195N/A# Tests do not build on Solaris yet
6195N/ATEST_TARGET= $(SKIP_TEST)
6195N/A
6195N/ABUILD_STYLE= justmake
6195N/A
6195N/A# Needs gobject-introspection, not available on S11.
6195N/Aifeq ($(BUILD_TYPE), evaluation)
6195N/ABUILD_32_and_64=
6195N/AINSTALL_32_and_64=
6195N/APUBLISH_STAMP=
6195N/Aendif
6195N/A
6195N/Ainclude $(WS_MAKE_RULES)/common.mk
6195N/A
6195N/ALDFLAGS += $(CC_BITS)
6195N/A
6195N/ACOMPONENT_INSTALL_ARGS += LUA_VERSION=5.2 PREFIX=$(USRDIR)
6195N/ACOMPONENT_INSTALL_ARGS.64 += LUA_LIBDIR=$(USRDIR)/lib/lua/5.2/64
6195N/A
6195N/AREQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
6195N/AREQUIRED_PACKAGES += library/glib2
6195N/AREQUIRED_PACKAGES += library/libffi
6195N/AREQUIRED_PACKAGES += runtime/lua