author | Alan Coopersmith <Alan.Coopersmith@Oracle.COM> |
Wed, 10 Aug 2016 21:49:25 -0700 | |
changeset 1653 | 9fcb30a2102b |
parent 1610 | 77a2e608a1ff |
permissions | -rw-r--r-- |
433
00ee7cc68808
6684251 Update xload to open source version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
1 |
############################################################################### |
00ee7cc68808
6684251 Update xload to open source version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
2 |
# |
1610
77a2e608a1ff
22807351 X gate makefiles no longer need to carry around $(X11_DIR) baggage
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1466
diff
changeset
|
3 |
# xload - system load average display for X |
433
00ee7cc68808
6684251 Update xload to open source version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
4 |
# |
1610
77a2e608a1ff
22807351 X gate makefiles no longer need to carry around $(X11_DIR) baggage
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1466
diff
changeset
|
5 |
# Copyright (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved. |
433
00ee7cc68808
6684251 Update xload to open source version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
6 |
# |
00ee7cc68808
6684251 Update xload to open source version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
7 |
# Permission is hereby granted, free of charge, to any person obtaining a |
919
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
8 |
# copy of this software and associated documentation files (the "Software"), |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
9 |
# to deal in the Software without restriction, including without limitation |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
10 |
# the rights to use, copy, modify, merge, publish, distribute, sublicense, |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
11 |
# and/or sell copies of the Software, and to permit persons to whom the |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
12 |
# Software is furnished to do so, subject to the following conditions: |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
13 |
# |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
14 |
# The above copyright notice and this permission notice (including the next |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
15 |
# paragraph) shall be included in all copies or substantial portions of the |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
16 |
# Software. |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
17 |
# |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
18 |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
19 |
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
20 |
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
21 |
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
22 |
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
23 |
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
24 |
# DEALINGS IN THE SOFTWARE. |
433
00ee7cc68808
6684251 Update xload to open source version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
25 |
# |
00ee7cc68808
6684251 Update xload to open source version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
26 |
# |
00ee7cc68808
6684251 Update xload to open source version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
27 |
|
00ee7cc68808
6684251 Update xload to open source version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
28 |
# Package name used in tarballs |
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
433
diff
changeset
|
29 |
MODULE_NAME=xload |
433
00ee7cc68808
6684251 Update xload to open source version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
30 |
|
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
943
diff
changeset
|
31 |
# pkg(5) name we deliver the files in (override default) |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
943
diff
changeset
|
32 |
MODULE_PKGNAME=diagnostic/xload |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
943
diff
changeset
|
33 |
MODULE_PKGNAME_SET=yes |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
943
diff
changeset
|
34 |
|
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
943
diff
changeset
|
35 |
# Package classification (override default) |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
943
diff
changeset
|
36 |
MODULE_PKGCLASS=Applications/System Utilities |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
943
diff
changeset
|
37 |
MODULE_PKGCLASS_SET=yes |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
943
diff
changeset
|
38 |
|
433
00ee7cc68808
6684251 Update xload to open source version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
39 |
# Version number (used in path names) |
1408
17c15e2662ba
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1276
diff
changeset
|
40 |
MODULE_VERSION=1.1.2 |
433
00ee7cc68808
6684251 Update xload to open source version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
41 |
|
911
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
851
diff
changeset
|
42 |
# Checksums for upstream tarball |
1408
17c15e2662ba
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1276
diff
changeset
|
43 |
TARBALL_MD5 = b9e9808db18acecf4cdec134d86b157c |
17c15e2662ba
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1276
diff
changeset
|
44 |
TARBALL_SHA1 = 4a34135ff51c3bc4029d6644e60e03f17ccf8c81 |
17c15e2662ba
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1276
diff
changeset
|
45 |
TARBALL_SHA256= 83f8e6260435f1df2e2e5036bb3325688b79f0b33069ef445eff5058d127e078 |
911
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
851
diff
changeset
|
46 |
|
433
00ee7cc68808
6684251 Update xload to open source version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
47 |
# Patches to apply to source after unpacking, in order |
1276
52f85727ce94
7161868 Update X.Org modules to X11R7.7 RC1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1239
diff
changeset
|
48 |
SOURCE_PATCHES = |
433
00ee7cc68808
6684251 Update xload to open source version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
49 |
|
00ee7cc68808
6684251 Update xload to open source version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
50 |
# Man pages to apply Sun footer to & attributes to list |
1276
52f85727ce94
7161868 Update X.Org modules to X11R7.7 RC1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1239
diff
changeset
|
51 |
SUNTOUCHED_MANPAGES = man/xload.man |
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
433
diff
changeset
|
52 |
MODULE_STABILITY=Committed |
433
00ee7cc68808
6684251 Update xload to open source version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
53 |
|
851
d428083dbbdd
6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
493
diff
changeset
|
54 |
MODULE_ADD_INSTALL_TARGETS=install_po |
433
00ee7cc68808
6684251 Update xload to open source version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
55 |
|
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
943
diff
changeset
|
56 |
# Compatibility links from /usr/X11/bin to /usr/bin |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
943
diff
changeset
|
57 |
MODULE_X11_BINCOMPAT_LINKS = xload |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
943
diff
changeset
|
58 |
|
433
00ee7cc68808
6684251 Update xload to open source version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
59 |
include ../Makefile.inc |
00ee7cc68808
6684251 Update xload to open source version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
60 |
|
1408
17c15e2662ba
17472475 Mass minor bugfix update to X.Org upstream release [Sep. 2013 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1276
diff
changeset
|
61 |
install_po: $(BUILD_TARGETS) |
1610
77a2e608a1ff
22807351 X gate makefiles no longer need to carry around $(X11_DIR) baggage
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1466
diff
changeset
|
62 |
mkdir -p $(PROTODIR)$(MODULE_LC_MESSAGES_DIR) |
77a2e608a1ff
22807351 X gate makefiles no longer need to carry around $(X11_DIR) baggage
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1466
diff
changeset
|
63 |
ginstall -m 0444 $(BUILD_DIR)/xload.po $(PROTODIR)$(MODULE_LC_MESSAGES_DIR) |
433
00ee7cc68808
6684251 Update xload to open source version
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff
changeset
|
64 |