components/desktop/lgi/Makefile
changeset 6197 83e434d46fbc
child 7687 1093e2a9adbd
equal deleted inserted replaced
6196:92a092dbd0f6 6197:83e434d46fbc
       
     1 #
       
     2 # CDDL HEADER START
       
     3 #
       
     4 # The contents of this file are subject to the terms of the
       
     5 # Common Development and Distribution License (the "License").
       
     6 # You may not use this file except in compliance with the License.
       
     7 #
       
     8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
       
     9 # or http://www.opensolaris.org/os/licensing.
       
    10 # See the License for the specific language governing permissions
       
    11 # and limitations under the License.
       
    12 #
       
    13 # When distributing Covered Code, include this CDDL HEADER in each
       
    14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
       
    15 # If applicable, add the following below this CDDL HEADER, with the
       
    16 # fields enclosed by brackets "[]" replaced with your own identifying
       
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
       
    18 #
       
    19 # CDDL HEADER END
       
    20 #
       
    21 
       
    22 #
       
    23 # Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
       
    24 #
       
    25 
       
    26 BUILD_BITS =            64_and_32
       
    27 COMPILER =              gcc
       
    28 include ../../../make-rules/shared-macros.mk
       
    29 
       
    30 COMPONENT_NAME=         lgi
       
    31 COMPONENT_VERSION=      0.9.0
       
    32 COMPONENT_PROJECT_URL=  https://github.com/pavouk/lgi
       
    33 COMPONENT_ARCHIVE_HASH= \
       
    34         sha256:87c7870f8a1c60b48c4d5587b7fab46863e1cb9e76a68520f47e9ef2764cfe24
       
    35 COMPONENT_ARCHIVE_URL=  https://github.com/pavouk/lgi/archive/$(COMPONENT_VERSION).tar.gz
       
    36 COMPONENT_BUGDB=        gnome/libraries
       
    37 
       
    38 TPNO=                   27458
       
    39 
       
    40 # Tests do not build on Solaris yet
       
    41 TEST_TARGET= $(SKIP_TEST)
       
    42 
       
    43 BUILD_STYLE= justmake
       
    44 
       
    45 # Needs gobject-introspection, not available on S11.
       
    46 ifeq ($(BUILD_TYPE), evaluation)
       
    47 BUILD_32_and_64=
       
    48 INSTALL_32_and_64=
       
    49 PUBLISH_STAMP=
       
    50 endif
       
    51 
       
    52 include $(WS_MAKE_RULES)/common.mk
       
    53 
       
    54 LDFLAGS += $(CC_BITS)
       
    55 
       
    56 COMPONENT_INSTALL_ARGS += LUA_VERSION=5.2 PREFIX=$(USRDIR)
       
    57 COMPONENT_INSTALL_ARGS.64 += LUA_LIBDIR=$(USRDIR)/lib/lua/5.2/64
       
    58 
       
    59 REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
       
    60 REQUIRED_PACKAGES += library/glib2
       
    61 REQUIRED_PACKAGES += library/libffi
       
    62 REQUIRED_PACKAGES += runtime/lua