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.
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.
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]
23 # Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
24 # Modified by Aurelien Larcher, 2015.
29 include ..
/..
/..
/make-rules
/shared-macros.mk
31 COMPONENT_NAME
= automake
32 COMPONENT_MAJOR_VERSION
=1.15
33 COMPONENT_VERSION
= $(COMPONENT_MAJOR_VERSION
).1
35 COMPONENT_FMRI
= developer
/build
/automake-115
36 COMPONENT_CLASSIFICATION
=Development
/GNU
37 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
38 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
39 COMPONENT_ARCHIVE_HASH
= \
40 sha256
:988e32527abe052307d21c8ca000aa238b914df363a617e38f4fb89f5abf6260
41 COMPONENT_ARCHIVE_URL
= http
://ftp.gnu.org
/pub
/gnu
/automake
/$(COMPONENT_ARCHIVE
)
42 COMPONENT_SUMMARY
= A Makefile generator
43 COMPONENT_PROJECT_URL
= http
://www.gnu.org
/software
/automake
/
44 COMPONENT_LICENSE_FILE
= $(COMPONENT_NAME
).license
45 COMPONENT_LICENSE
= GPLv2 FDLv1.3
48 include $(WS_MAKE_RULES
)/common.mk
50 PKG_MACROS
+= COMPONENT_MAJOR_VERSION
=$(COMPONENT_MAJOR_VERSION
)
52 CONFIGURE_OPTIONS
+= --program-transform-name
=s
/$$/-$(COMPONENT_MAJOR_VERSION
)/
53 CONFIGURE_OPTIONS
+= --docdir
=$(CONFIGURE_PREFIX
)/share
/doc
/$(COMPONENT_NAME
)-$(COMPONENT_MAJOR_VERSION
)
54 CONFIGURE_OPTIONS
+= --infodir=$(CONFIGURE_INFODIR
)
55 CONFIGURE_OPTIONS
+= PERL
="$(PERL)"
57 COMPONENT_TEST_ENV
+= -i PATH
=$(PATH.gnu
)
59 # Auto-generated dependencies
60 PERL_REQUIRED_PACKAGES
+= runtime
/perl
61 REQUIRED_PACKAGES
+= shell/ksh93