Files
Astral/recipes/ruby
2026-08-20 16:53:52 -03:00

20 lines
525 B
Plaintext

name=ruby
revision=2
from_source=ruby
imagedeps="build-essential ruby"
hostdeps="xgcc xbinutils pkgconfig libtool"
deps="base libyaml"
configure() {
cp -rp ${source_dir}/* .
./configure --host=x86_64-astral --prefix=${prefix} --disable-static --disable-rpath --enable-shared --without-valgrind --with-baseruby="$(command -v ruby)" ac_cv_func_qsort_r=no LD=x86_64-astral-gcc LDSHARED='x86_64-astral-gcc -shared' --disable-install-rdoc
}
build() {
make -j ${parallelism}
}
package() {
make install DESTDIR=${dest_dir}
}