summaryrefslogtreecommitdiffhomepage
path: root/vars/build.vars
diff options
context:
space:
mode:
Diffstat (limited to 'vars/build.vars')
-rw-r--r--vars/build.vars14
1 files changed, 12 insertions, 2 deletions
diff --git a/vars/build.vars b/vars/build.vars
index c2b4b8f3..174f0a00 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -510,8 +510,11 @@ LEAF_PACKAGES_PACKAGES="
apk_tools bash bc bdwgc bind bison chicken clang_host coreutils cparser cron dash datamash diffutils
dos2unix ed figlet file findutils gawk git gnupg grep hexcurse htop inetutils infounzip infozip irssi
john ldns less lighttpd lynx make man_db mc mksh mtr nano netcat nginx openlitespeed openssh p7zip
-pacman patch perl procps_ng python3 qpdf rsync rxvt_unicode sed smallbasic socat tar tcsh the_silver_searcher
-tmux util_linux vim weechat wget which whois xeyes xwd zsh";
+pacman patch perl procps_ng python3 qpdf rsync ruby rxvt_unicode sed smallbasic socat tar tcsh
+the_silver_searcher tmux util_linux vim weechat wget which whois xeyes xwd zsh";
+if [ -n "$(which ruby 2>/dev/null)" ]; then
+ LEAF_PACKAGES_PACKAGES="${LEAF_PACKAGES_PACKAGES:+${LEAF_PACKAGES_PACKAGES} }ruby";
+fi;
LEAF_PACKAGES_PREFIX="${PREFIX_NATIVE}";
: ${PKG_APK_TOOLS_SHA256SUM:=def2b2c23cd12fd2a9c19be49653b0d1bf9d81a26dac5a0ee79a1351d674f93b};
: ${PKG_APK_TOOLS_VERSION:=2.6.8};
@@ -785,6 +788,13 @@ LEAF_PACKAGES_PREFIX="${PREFIX_NATIVE}";
: ${PKG_RSYNC_VERSION:=3.1.2};
: ${PKG_RSYNC_URL:=https://download.samba.org/pub/rsync/src/rsync-${PKG_RSYNC_VERSION}.tar.gz};
: ${PKG_RSYNC_CONFIGURE_ARGS_EXTRA:=--with-included-popt --with-included-zlib};
+if [ -n "$(which ruby 2>/dev/null)" ]; then
+ : ${PKG_RUBY_SHA256SUM:=ba5ba60e5f1aa21b4ef8e9bf35b9ddb57286cb546aac4b5a28c71f459467e507};
+ : ${PKG_RUBY_VERSION:=2.3.0};
+ : ${PKG_RUBY_URL:=https://cache.ruby-lang.org/pub/ruby/${PKG_RUBY_VERSION%.*}/ruby-${PKG_RUBY_VERSION}.tar.gz};
+ : ${PKG_RUBY_CONFIGURE_ARGS_EXTRA:=--with-out-ext=fiddle};
+ : ${PKG_RUBY_MAKEFLAGS_BUILD:=-j1};
+fi;
: ${PKG_RXVT_UNICODE_SHA256SUM:=e94628e9bcfa0adb1115d83649f898d6edb4baced44f5d5b769c2eeb8b95addd};
: ${PKG_RXVT_UNICODE_VERSION:=9.22};
: ${PKG_RXVT_UNICODE_URL:=http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-${PKG_RXVT_UNICODE_VERSION}.tar.bz2};