diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2013-06-09 21:26:41 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2013-06-09 21:26:41 +0200 |
commit | 4f3b4ca62bfe6d65df6a140dbb9dd484522f31a9 (patch) | |
tree | fbb0d1cbdeb74f5f4c8b194b569e21803ec8722f | |
parent | d2a35dd5e60036adc24a67247b3a4f0e6eb50d6c (diff) | |
download | ptxdist-4f3b4ca62bfe6d65df6a140dbb9dd484522f31a9.tar.gz ptxdist-4f3b4ca62bfe6d65df6a140dbb9dd484522f31a9.tar.xz |
host-system-ruby: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/host-system-ruby.in | 4 | ||||
-rw-r--r-- | rules/host-system-ruby.make | 28 |
2 files changed, 32 insertions, 0 deletions
diff --git a/rules/host-system-ruby.in b/rules/host-system-ruby.in new file mode 100644 index 000000000..2cecbe1f8 --- /dev/null +++ b/rules/host-system-ruby.in @@ -0,0 +1,4 @@ +## SECTION=hosttools_noprompt + +config HOST_SYSTEM_RUBY + tristate diff --git a/rules/host-system-ruby.make b/rules/host-system-ruby.make new file mode 100644 index 000000000..9f535d60a --- /dev/null +++ b/rules/host-system-ruby.make @@ -0,0 +1,28 @@ +# -*-makefile-*- +# +# Copyright (C) 2013 by Michael Olbrich <m.olbrich@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_HOST_SYSTEM_RUBY) += host-system-ruby + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +$(STATEDIR)/host-system-ruby.prepare: + @$(call targetinfo) + @echo "Checking for Ruby ..." + @ruby --version >/dev/null 2>&1 || \ + ptxd_bailout "'ruby' not found! Please install."; + @echo + @$(call touch) + +# vim: syntax=make |