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]
21 # Copyright 2016 GrĂ¼ninger GmbH, Andreas GrĂ¼ninger (grueni)
23 include ..
/..
/..
/make-rules
/shared-macros.mk
25 COMPONENT_NAME
= bundler
26 COMPONENT_VERSION
= 1.13.6
27 COMPONENT_FMRI
= library
/ruby
/$(COMPONENT_NAME
)
28 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
29 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).gem
30 COMPONENT_ARCHIVE_HASH
= sha256
:fafd22dfed658ca0603f321bdd168ed709d7c682e61273b55637716459f2d0f7
31 COMPONENT_ARCHIVE_URL
= http
://rubygems.org
/gems
/$(COMPONENT_SRC
).gem
32 COMPONENT_PROJECT_URL
= http
://puppetlabs.com
/bundler
33 COMPONENT_CLASSIFICATION
= Development
/Ruby
34 COMPONENT_LICENSE
= MIT
36 include $(WS_MAKE_RULES
)/prep.mk
37 include $(WS_MAKE_RULES
)/ips.mk
38 include $(WS_MAKE_RULES
)/gem.mk
39 include $(WS_MAKE_RULES
)/ruby.mk
41 # gemspec in the gem is incomplete. Create one with the content of archive
42 COMPONENT_POST_UNPACK_ACTION
= \
43 $(GEM
) spec
--ruby
$(USERLAND_ARCHIVES
)/$(COMPONENT_ARCHIVE
) > $(SOURCE_DIR
)/$(GEMSPEC
)
48 install: $(INSTALL_32
)
53 REQUIRED_PACKAGES
+= runtime
/ruby-23