From eddee680da17d8db464495af4fe5e57e4a332406 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Sun, 30 Jul 2017 22:10:01 +0200 Subject: vars/build.vars, patches/ruby-2.3.0.local.patch: adds ruby v2.3.0 (via Redfoxmoon.) --- vars/build.vars | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'vars') 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}; -- cgit v1.2.3