components/python/jsonrpclib/Makefile
changeset 832 d0946a4ddb78
child 873 eacbe16b1cd9
equal deleted inserted replaced
831:9a41c3b678fa 832:d0946a4ddb78
       
     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 # Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
       
    22 #
       
    23 include ../../../make-rules/shared-macros.mk
       
    24 
       
    25 PATH=/usr/bin:/usr/gnu/bin:/usr/sbin
       
    26 
       
    27 COMPONENT_NAME=		jsonrpclib
       
    28 COMPONENT_VERSION=	0.1.3
       
    29 COMPONENT_HASH=		e3a3cde
       
    30 COMPONENT_PROJECT_URL=	https://github.com/joshmarshall/jsonrpclib
       
    31 COMPONENT_SRC=		joshmarshall-jsonrpclib-$(COMPONENT_HASH)
       
    32 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
       
    33 COMPONENT_ARCHIVE_HASH=	\
       
    34     sha256:1480f0f189250d46552e29d2a6f04f5b92788ffd9b8f51d06fdaeee03aa2d8bb
       
    35 COMPONENT_ARCHIVE_URL=https://github.com/joshmarshall/jsonrpclib/tarball/$(COMPONENT_HASH)
       
    36 
       
    37 include $(WS_TOP)/make-rules/prep.mk
       
    38 include $(WS_TOP)/make-rules/setup.py.mk
       
    39 include $(WS_TOP)/make-rules/ips.mk
       
    40 
       
    41 # build modules PIC (needed for Python 2.7)
       
    42 CFLAGS += $(CC_PIC)
       
    43 
       
    44 # common targets
       
    45 build:		$(BUILD_32_and_64)
       
    46 
       
    47 install:	$(INSTALL_32_and_64)
       
    48 
       
    49 test:		$(NO_TESTS)
       
    50 
       
    51 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
       
    52 
       
    53 include $(WS_TOP)/make-rules/depend.mk