Norm Jacobs
2012-03-28 7d22b7a4ef14509ace539c0a4a888db9cd475ff5
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
34 COMPONENT_ARCHIVE_HASH= sha1:5439809806a8dd7e33c95617fb0cbed35d111974
35 COMPONENT_ARCHIVE_URL=  http://download.freedesktop.org/ldtp/$(COMPONENT_MAJOR_VERSION)/$(COMPONENT_MINOR_VERSION)/$(COMPONENT_ARCHIVE)
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
7d22b7 41 COMPONENT_POST_INSTALL_ACTION = \
NJ 42     (cd $(PROTO_DIR)/usr/bin ; $(MV) -f ldtp ldtp$(PYTHON_VERSION))
43
81d028 44 # common targets
ET 45 build:        $(BUILD_32)
46
47 install:    $(INSTALL_32)
48
49 test:        $(NO_TESTS)
50
51 BUILD_PKG_DEPENDENCIES =    $(BUILD_TOOLS)
52
53 include $(WS_TOP)/make-rules/depend.mk