components/nano/Makefile
author Vladimir Marek <Vladimir.Marek@oracle.com>
Sun, 02 Apr 2017 08:28:31 +0200
changeset 7845 04bd13eb1a17
parent 7687 1093e2a9adbd
child 7877 77b9db3560fa
permissions -rw-r--r--
25818337 Missing packages in developer/opensolaris/userland
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5236
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
#
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
#
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
#
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
#
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
#
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    20
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5236
diff changeset
    21
5236
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    22
#
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 6486
diff changeset
    23
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5236
diff changeset
    24
#
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5236
diff changeset
    25
BUILD_BITS= 64
5236
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		nano
6486
6b8a8d70cef6 24321843 Update nano to version 2.6.1
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    29
COMPONENT_VERSION=	2.6.1
5236
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    30
COMPONENT_PROJECT_URL=	http://www.nano-editor.org/
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_HASH=	\
6486
6b8a8d70cef6 24321843 Update nano to version 2.6.1
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    32
    sha256:56f2ba1c532647bee36abd5f87a714400af0be084cf857a65bc8f41a0dc28fe5
6b8a8d70cef6 24321843 Update nano to version 2.6.1
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    33
COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)dist/v2.6/$(COMPONENT_ARCHIVE)
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 6486
diff changeset
    34
COMPONENT_ANITYA_ID=	2046
5236
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    35
6486
6b8a8d70cef6 24321843 Update nano to version 2.6.1
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    36
TPNO=			30196
5236
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    37
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5236
diff changeset
    38
TEST_TARGET= $(NO_TESTS)
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5236
diff changeset
    39
include $(WS_MAKE_RULES)/common.mk
5236
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    40
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5236
diff changeset
    41
# Ensure ancient autoconf scripts are overwritten with fixed versions that
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5236
diff changeset
    42
# properly detect SunOS 5.x hosts.
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5236
diff changeset
    43
COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv)
5236
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    44
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5236
diff changeset
    45
CPPFLAGS += -I$(USRINCDIR)/ncurses
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5236
diff changeset
    46
CFLAGS += -I$(USRINCDIR)/ncurses
5236
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    47
9f6ec47a1612 22363216 Move nano from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    48
REQUIRED_PACKAGES += library/ncurses
7845
04bd13eb1a17 25818337 Missing packages in developer/opensolaris/userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents: 7687
diff changeset
    49
REQUIRED_PACKAGES += text/groff