summaryrefslogtreecommitdiff
path: root/repo/system/ruby/ruby.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
commit48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch)
tree00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/system/ruby/ruby.xibuild
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
Diffstat (limited to 'repo/system/ruby/ruby.xibuild')
-rw-r--r--repo/system/ruby/ruby.xibuild48
1 files changed, 0 insertions, 48 deletions
diff --git a/repo/system/ruby/ruby.xibuild b/repo/system/ruby/ruby.xibuild
deleted file mode 100644
index 3cc7f7b..0000000
--- a/repo/system/ruby/ruby.xibuild
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/bin/sh
-
-NAME="ruby"
-DESC="An object-oriented language for quick and easy programming"
-
-MAKEDEPS="make "
-DEPS="sbase cacerts gmp libucontext musl zlib "
-
-PKG_VER=3.1.2
-SOURCE="https://cache.ruby-lang.org/pub/ruby/${PKG_VER%.*}/ruby-$PKG_VER.tar.gz"
-ADDITIONAL="dont-install-bundled-gems.patch dont-install-bundled-gems.patch test_insns-lower-recursion-depth.patch "
-
-prepare () {
- apply_patches
-}
-
-build () {
- export CFLAGS="-O2 -fno-omit-frame-pointer -fno-strict-aliasing"
- export CPPFLAGS="-O2 -fno-omit-frame-pointer -fno-strict-aliasing"
-
- # Needed for coroutine stuff
- export LIBS="-lucontext"
-
- # ruby saves path to install. we want use $PATH
- export INSTALL=install
-
- # the configure script does not detect isnan/isinf as macros
- export ac_cv_func_isnan=yes
- export ac_cv_func_isinf=yes
-
-
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --with-sitedir=/usr/local/lib/site_ruby \
- --with-search-path="/usr/lib/site_ruby/\$(ruby_ver)/x86_64-linux" \
- --enable-pthread \
- --disable-rpath \
- --enable-shared \
- --with-mantype=man
- make
-}
-
-package () {
- make DESTDIR=$PKG_DEST install
-}