29 lines
614 B
Python
29 lines
614 B
Python
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)
|