commit | author | age
|
cda996
|
1 |
# |
AL |
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 |
|
|
22 |
# |
|
23 |
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. |
|
24 |
# Modified by Aurelien Larcher, 2015. |
|
25 |
# |
|
26 |
|
|
27 |
include ../../../make-rules/shared-macros.mk |
|
28 |
|
8dc1cb
|
29 |
COMPONENT_NAME= automake |
1f6754
|
30 |
COMPONENT_VERSION= 1.15.1 |
MT |
31 |
COMPONENT_REVISION= 3 |
|
32 |
COMPONENT_SUMMARY= A Makefile generator |
|
33 |
COMPONENT_PROJECT_URL= https://www.gnu.org/software/automake/ |
|
34 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
35 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz |
|
36 |
COMPONENT_ARCHIVE_HASH= \ |
|
37 |
sha256:af6ba39142220687c500f79b4aa2f181d9b24e4f8d8ec497cea4ba26c64bedaf |
|
38 |
COMPONENT_ARCHIVE_URL= https://ftp.gnu.org/pub/gnu/automake/$(COMPONENT_ARCHIVE) |
|
39 |
COMPONENT_FMRI= developer/build/automake-115 |
cda996
|
40 |
COMPONENT_CLASSIFICATION=Development/GNU |
1f6754
|
41 |
COMPONENT_LICENSE= GPL-2.0-only |
MT |
42 |
COMPONENT_LICENSE_FILE= COPYING |
cda996
|
43 |
|
1f6754
|
44 |
USE_DEFAULT_TEST_TRANSFORMS = yes |
cda996
|
45 |
|
8dc1cb
|
46 |
include $(WS_MAKE_RULES)/common.mk |
cda996
|
47 |
|
1f6754
|
48 |
# Testing expects GNU make |
MT |
49 |
PATH = $(PATH.gnu) |
014c0c
|
50 |
|
1f6754
|
51 |
COMPONENT_VERSION_MAJOR = $(subst $(space),.,$(wordlist 1,2,$(subst ., ,$(HUMAN_VERSION)))) |
014c0c
|
52 |
|
1f6754
|
53 |
CONFIGURE_OPTIONS += --docdir=$(USRSHAREDOCDIR)/$(COMPONENT_NAME)-$(COMPONENT_VERSION_MAJOR) |
MT |
54 |
|
|
55 |
# Convert unversioned binary hardlinks and man page files to symlinks |
|
56 |
COMPONENT_POST_INSTALL_ACTION += \ |
|
57 |
for f in aclocal automake ; do \ |
|
58 |
$(RM) $(PROTOUSRBINDIR)/$$f ; \ |
|
59 |
$(SYMLINK) $$f-$(COMPONENT_VERSION_MAJOR) $(PROTOUSRBINDIR)/$$f ; \ |
|
60 |
$(RM) $(PROTOUSRSHAREMAN1DIR)/$$f.1 ; \ |
|
61 |
$(SYMLINK) $$f-$(COMPONENT_VERSION_MAJOR).1 $(PROTOUSRSHAREMAN1DIR)/$$f.1 ; \ |
|
62 |
done ; |
|
63 |
|
|
64 |
# We do not want the info index file |
|
65 |
COMPONENT_POST_INSTALL_ACTION += $(RM) $(PROTOUSRSHAREDIR)/info/dir ; |
|
66 |
|
|
67 |
# Convert unversioned info files to versioned and create unversioned symlinks |
|
68 |
COMPONENT_POST_INSTALL_ACTION += \ |
|
69 |
for f in automake-history.info automake.info automake.info-1 automake.info-2 ; do \ |
|
70 |
$(MV) $(PROTOUSRSHAREDIR)/info/$$f \ |
|
71 |
$(PROTOUSRSHAREDIR)/info/$${f%.*}-$(COMPONENT_VERSION_MAJOR).$${f\#\#*.} ; \ |
|
72 |
$(SYMLINK) $${f%.*}-$(COMPONENT_VERSION_MAJOR).$${f\#\#*.} $(PROTOUSRSHAREDIR)/info/$$f ; \ |
|
73 |
done ; |
|
74 |
|
|
75 |
# We do not want the README file in the aclocal directory |
|
76 |
COMPONENT_POST_INSTALL_ACTION += $(RM) $(PROTOUSRSHAREDIR)/aclocal/README ; |
cda996
|
77 |
|
014c0c
|
78 |
# Auto-generated dependencies |
1f6754
|
79 |
REQUIRED_PACKAGES += runtime/perl |
8dc1cb
|
80 |
REQUIRED_PACKAGES += shell/ksh93 |