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]
22 # Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
23 # Copyright 2017 Andreas Grueninger, Grueninger GmbH, (grueni). All rights reserved.
26 include ..
/..
/..
/make-rules
/shared-macros.mk
28 COMPONENT_NAME
= ruby-augeas
29 COMPONENT_VERSION
= 0.5.0
31 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
32 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).gem
33 COMPONENT_ARCHIVE_HASH
= \
34 sha256
:42b0973c8ff88c5a903a1b126f1418a69eb3c8f4d45999055bfdce9b70e57101
35 COMPONENT_ARCHIVE_URL
= http
://rubygems.org
/gems
/$(COMPONENT_SRC
).gem
36 COMPONENT_PROJECT_URL
= https
://github.com
/hercules-team
/ruby-augeas
37 COMPONENT_BUGDB
= utility
/augeas
38 COMPONENT_ANITYA_ID
= 7017
39 COMPONENT_CLASSIFICATION
= System
/Administration and Configuration
40 COMPONENT_FMRI
= library
/ruby
/augeas
41 COMPONENT_SUMMARY
= Ruby bindings for Augeas configuration editor
42 COMPONENT_DESCRIPTION
= The class Augeas provides bindings to augeas
[http
://augeas.net
] library.
43 COMPONENT_LICENSE
= LGPL-2.1
44 COMPONENT_LICENSE_FILE
= augeas.license
48 # No gemspec is shipped with the gem. Create one
49 COMPONENT_POST_UNPACK_ACTION
= \
50 $(GEM
) spec
$(USERLAND_ARCHIVES
)$(COMPONENT_ARCHIVE
) --ruby
> $(SOURCE_DIR
)/$(GEMSPEC
)
52 include $(WS_MAKE_RULES
)/prep.mk
53 include $(WS_MAKE_RULES
)/ips.mk
54 include $(WS_MAKE_RULES
)/gem.mk
55 include $(WS_MAKE_RULES
)/ruby.mk
57 COMPONENT_TEST_CMD
= /usr
/bin
/rake
58 COMPONENT_TEST_DIR
= $(SOURCE_DIR
)
59 COMPONENT_TEST_ARGS
+= test
60 COMPONENT_TEST_TRANSFORMS
+= \
66 install: $(INSTALL_32
)
70 REQUIRED_PACKAGES
+= library
/augeas-libs
71 REQUIRED_PACKAGES
+= library
/libxml2
72 REQUIRED_PACKAGES
+= runtime
/ruby-23
73 REQUIRED_PACKAGES
+= system
/library
74 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
75 REQUIRED_PACKAGES
+= system
/library
/math
76 # Bogus dependency due to libssp
77 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)