From f6332a43c35387c4a2dea1746be5fd092890ae0e Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 27 Jun 2022 23:09:07 +0100 Subject: added lf and iptables --- repo/ruby-rake/ruby-rake.xibuild | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 repo/ruby-rake/ruby-rake.xibuild (limited to 'repo/ruby-rake/ruby-rake.xibuild') 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 +} + -- cgit v1.2.1