diff options
Diffstat (limited to 'strata/ruby')
-rw-r--r-- | strata/ruby/bundler.morph | 6 | ||||
-rw-r--r-- | strata/ruby/ruby-1.8.morph | 9 | ||||
-rw-r--r-- | strata/ruby/ruby.morph | 9 |
3 files changed, 24 insertions, 0 deletions
diff --git a/strata/ruby/bundler.morph b/strata/ruby/bundler.morph new file mode 100644 index 00000000..643ef119 --- /dev/null +++ b/strata/ruby/bundler.morph @@ -0,0 +1,6 @@ +name: bundler +kind: chunk +build-commands: +- rake build +install-commands: +- gem install ./pkg/*gem --bindir "$DESTDIR/$PREFIX/bin" --install-dir "$DESTDIR/$PREFIX/lib/ruby/gems/2.0.0" diff --git a/strata/ruby/ruby-1.8.morph b/strata/ruby/ruby-1.8.morph new file mode 100644 index 00000000..cee282c0 --- /dev/null +++ b/strata/ruby/ruby-1.8.morph @@ -0,0 +1,9 @@ +name: ruby-1.8 +kind: chunk +configure-commands: +- autoconf +- ./configure --prefix=/usr --program-suffix=-1.8 +build-commands: +- make +install-commands: +- make DESTDIR="$DESTDIR" install diff --git a/strata/ruby/ruby.morph b/strata/ruby/ruby.morph new file mode 100644 index 00000000..c5d4afe1 --- /dev/null +++ b/strata/ruby/ruby.morph @@ -0,0 +1,9 @@ +name: ruby +kind: chunk +configure-commands: +- autoconf +- ./configure --prefix=/usr --enable-shared --with-baseruby=/usr/bin/ruby-1.8 +build-commands: +- make +install-commands: +- make DESTDIR=$DESTDIR install |