first commit

This commit is contained in:
ngn
2024-08-11 02:17:03 +03:00
commit ee34792885
1404 changed files with 13564 additions and 0 deletions

3
src/ruby/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/ruby/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 3.2.2
First version

24
src/ruby/pkg.sh Normal file
View File

@ -0,0 +1,24 @@
NAME="ruby"
DESC="Ruby development environment"
VERSION="3.2.2"
FILES=("https://cache.ruby-lang.org/pub/ruby/${VERSION%.*}/ruby-$VERSION.tar.xz")
HASHES=("377853f31d10bfe37c58b8537fc3e05d")
DEPENDS=(
"libyaml" "libxcrypt"
"libffi" "gmp"
)
PACKAGE() {
tar xf $NAME-$VERSION.tar.xz
cd $NAME-$VERSION
./configure --prefix=/usr \
--enable-shared \
--without-valgrind \
--without-baseruby \
--docdir=/usr/share/doc/ruby-$VERSION
make && make capi
make DESTDIR="$ROOTDIR" install
cd .. && rm -r $NAME-$VERSION
}