Rich Burridge
2012-11-21 3b89c9f0a174d765def02beefb9745e34f304392
commit | author | age
81d028 1 #
ET 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 #
7d22b7 21 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
81d028 22 #
ET 23 include ../../../make-rules/shared-macros.mk
24
25 PATH=/usr/bin:/usr/gnu/bin:/usr/sbin
26
27 COMPONENT_NAME=         ldtp
28 COMPONENT_VERSION=      2.1.1
29 COMPONENT_MAJOR_VERSION=2.x
30 COMPONENT_MINOR_VERSION=2.1.x
60e6e0 31 COMPONENT_PROJECT_URL=    http://ldtp.freedesktop.org/
81d028 32 COMPONENT_SRC=          $(COMPONENT_NAME)-$(COMPONENT_VERSION)
ET 33 COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.gz
35e110 34 COMPONENT_ARCHIVE_HASH= \
MS 35     sha256:53215930b38edeb980f43130fc29783db4875ce2317c946391a7baa63d98aa0e
81d028 36 COMPONENT_ARCHIVE_URL=  http://download.freedesktop.org/ldtp/$(COMPONENT_MAJOR_VERSION)/$(COMPONENT_MINOR_VERSION)/$(COMPONENT_ARCHIVE)
3b89c9 37 COMPONENT_BUGDB=    python-mod/ldtp
81d028 38
ET 39 include $(WS_TOP)/make-rules/prep.mk
40 include $(WS_TOP)/make-rules/setup.py.mk
41 include $(WS_TOP)/make-rules/ips.mk
42
7d22b7 43 COMPONENT_POST_INSTALL_ACTION = \
NJ 44     (cd $(PROTO_DIR)/usr/bin ; $(MV) -f ldtp ldtp$(PYTHON_VERSION))
45
81d028 46 # common targets
ET 47 build:        $(BUILD_32)
48
49 install:    $(INSTALL_32)
50
51 test:        $(NO_TESTS)
52
53 BUILD_PKG_DEPENDENCIES =    $(BUILD_TOOLS)
54
55 include $(WS_TOP)/make-rules/depend.mk