diff options
author | davidovski <david@davidovski.xyz> | 2022-06-27 23:09:07 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-27 23:09:07 +0100 |
commit | f6332a43c35387c4a2dea1746be5fd092890ae0e (patch) | |
tree | d6599f63de04096f3fc21a98e0b3bb39d55a3531 /repo/ruby-rake/ruby-rake.xibuild | |
parent | f13e0cac13f90f7f57bce3b26b2e6383de6e4ad2 (diff) |
added lf and iptables
Diffstat (limited to 'repo/ruby-rake/ruby-rake.xibuild')
-rw-r--r-- | repo/ruby-rake/ruby-rake.xibuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/repo/ruby-rake/ruby-rake.xibuild b/repo/ruby-rake/ruby-rake.xibuild new file mode 100644 index 0000000..63352fd --- /dev/null +++ b/repo/ruby-rake/ruby-rake.xibuild @@ -0,0 +1,34 @@ +#!/bin/sh + +NAME="ruby-rake" +DESC="A Ruby task runner, inspired by make" + +MAKEDEPS="" + +PKG_VER=13.0.6 +SOURCE="https://github.com/ruby/rake/archive/v$PKG_VER/rake-$PKG_VER.tar.gz" + +build() { + gem build rake.gemspec +} + +package() { + local gemdir="$PKG_DEST/$(ruby -e 'puts Gem.default_dir')" + + gem install \ + --local \ + --install-dir "$gemdir" \ + --bindir "$PKG_DEST/usr/bin" \ + --ignore-dependencies \ + --document ri \ + --verbose \ + rake + + # Remove unnessecary files + cd "$gemdir" + rm -rf build_info cache extensions plugins + + cd gems/rake-* + rm -rf doc *.rdoc MIT-LICENSE +} + |