author | Melynda Hunter <melynda.hunter@oracle.com> |
Thu, 01 Nov 2012 10:01:23 -0700 | |
branch | s11u1-sru |
changeset 2415 | db591cab6e24 |
parent 800 | 2ad056ed89ec |
child 1058 | 34d7aaa03423 |
permissions | -rw-r--r-- |
204
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
1 |
# |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
3 |
# |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
7 |
# |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
12 |
# |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
18 |
# |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
20 |
# |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
21 |
|
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
22 |
# |
670
2d9c52030317
7001049 Update gnuplot to version 4.4.4
Rich Burridge <rich.burridge@oracle.com>
parents:
623
diff
changeset
|
23 |
# Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved. |
204
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
24 |
# |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
25 |
|
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
26 |
include ../../make-rules/shared-macros.mk |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
27 |
#libreadline.so needs libcurses.so, but -z ignore will not leave a dependency. |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
28 |
LD_Z_IGNORE= |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
29 |
|
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
30 |
COMPONENT_NAME= gnuplot |
778
9d5e4d6466cd
7161375 Update gnuplot to version 4.6.0
Rich Burridge <rich.burridge@oracle.com>
parents:
670
diff
changeset
|
31 |
COMPONENT_VERSION= 4.6.0 |
204
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
32 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
33 |
COMPONENT_PROJECT_URL= http://gnuplot.info/ |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
34 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
778
diff
changeset
|
35 |
COMPONENT_ARCHIVE_HASH= \ |
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
778
diff
changeset
|
36 |
sha256:6e60adb5039a3541f407c2ade670004178b376754c424c13f0be24c7960c17be |
204
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
37 |
COMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/$(COMPONENT_NAME)/files/$(COMPONENT_NAME)/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)/download |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
38 |
|
206
a4474882bf60
7010355 python needs to be packaged to separate out non-core dependencies
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
204
diff
changeset
|
39 |
COMPONENT_BUILD_TARGETS = all info |
204
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
40 |
|
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
41 |
include ../../make-rules/prep.mk |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
42 |
include ../../make-rules/configure.mk |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
43 |
include ../../make-rules/ips.mk |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
44 |
|
206
a4474882bf60
7010355 python needs to be packaged to separate out non-core dependencies
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
204
diff
changeset
|
45 |
CONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_LIBDIR.$(BITS)) |
204
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
46 |
CONFIGURE_OPTIONS += --sysconfdir=/etc/gnu |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
47 |
CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
623
15f87c23a86e
7109831 userland pkglint should audit runpaths
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
206
diff
changeset
|
48 |
CONFIGURE_OPTIONS += --x-libraries=$(CONFIGURE_LIBDIR.$(BITS)) |
204
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
49 |
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
50 |
CONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)" |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
51 |
|
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
52 |
include ../../make-rules/shared-targets.mk |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
53 |
|
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
54 |
# common targets |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
55 |
build: $(BUILD_32) |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
56 |
|
206
a4474882bf60
7010355 python needs to be packaged to separate out non-core dependencies
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
204
diff
changeset
|
57 |
install: $(INSTALL_32) |
204
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
58 |
|
206
a4474882bf60
7010355 python needs to be packaged to separate out non-core dependencies
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
204
diff
changeset
|
59 |
test: $(TEST_32) |
204
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
60 |
|
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
61 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
62 |
|
78dfe4707c7c
7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff
changeset
|
63 |
include ../../make-rules/depend.mk |