vim: update to 9.1.0984
[oi-userland.git] / components / library / slang / Makefile
blobce9bf3fc5305f5178a8d8600f0ddf467176c6294
2 # CDDL HEADER START
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]
19 # CDDL HEADER END
23 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
26 BUILD_BITS= 64_and_32
27 USE_COMMON_TEST_MASTER= no
28 include ../../../make-rules/shared-macros.mk
30 COMPONENT_NAME= slang
31 COMPONENT_VERSION= 2.3.3
32 COMPONENT_SUMMARY= S-Lang is a multi-platform programmer's library designed to allow a developer to create robust multi-platform software
33 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
34 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
35 COMPONENT_ARCHIVE_HASH= sha256:f9145054ae131973c61208ea82486d5dd10e3c5cdad23b7c4a0617743c8f5a18
36 COMPONENT_ARCHIVE_URL= https://www.jedsoft.org/releases/slang/$(COMPONENT_ARCHIVE)
37 COMPONENT_PROJECT_URL= https://www.jedsoft.org/slang/
38 COMPONENT_FMRI= library/$(COMPONENT_NAME)
39 COMPONENT_CLASSIFICATION= Development/Other Languages
40 COMPONENT_LICENSE= GPLv2
42 include $(WS_MAKE_RULES)/common.mk
44 COMPONENT_PREP_ACTION = ( cd $(@D)/autoconf && autoconf -f -o ../configure )
46 COMPONENT_PRE_CONFIGURE_ACTION = $(CLONEY) $(SOURCE_DIR) $(@D)
47 CONFIGURE_SCRIPT = $(@D)/configure
49 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/slsh
51 COMPONENT_BUILD_ARGS=
53 COMPONENT_TEST_TRANSFORMS += \
54 '-n ' \
55 '-e "/Running /p" ' \
56 '-e "/Testing /p" ' \
57 '-e "/^Ok/p" ' \
58 '-e "/All /p" '
60 # Auto-generated dependencies
61 REQUIRED_PACKAGES += SUNWcs
62 REQUIRED_PACKAGES += image/library/libpng16
63 REQUIRED_PACKAGES += library/pcre
64 REQUIRED_PACKAGES += library/zlib
65 REQUIRED_PACKAGES += system/library
66 REQUIRED_PACKAGES += system/library/math
67 REQUIRED_PACKAGES += text/oniguruma