WIP: feat: add package ruby #16

Draft
sisungo wants to merge 1 commits from sisungo/ports:ruby into main
pull from: sisungo/ports:ruby
+28
View File
@@ -0,0 +1,28 @@
from lib.make import *
from lib import cpp, arch
version("4.0.9")
description("an open-source, object-oriented programming language")
maintainer("sisungo <[email protected]>")
source_url("https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.9.tar.gz")
builddep("shortcut/c")
builddep("shortcut/autotools")
def build():
cpp.configure([
"--enable-rpath",
"--enable-shared",
"--disable-yjit",
"--disable-zjit",
"--without-git",
"--without-gcc",
"--without-gmp",
"--without-jemalloc",
])
cpp.make()
cpp.make_install()
on_build(build)