blob: 46377dfa664a2dc773b24efbc6bf288201521bae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
#!/bin/mkpkg
# description: Ruby programming language interpreter
# url: https://www.ruby-lang.org/
name=ruby
version=4.0.7
release=1
depends=(zlib libressl libffi gdbm readline)
makedeps=(autoconf rust)
source=(https://cache.ruby-lang.org/pub/ruby/4.0/ruby-$version.tar.gz)
sha256sums=(
"911ace20f90d068ca0e4dda6d0e4f0f81e52e52f2dd4f4004c721e253412e82d"
)
patch() {
cd ruby-$version
sed -i '/-C lto=thin/d' common.mk
}
build() {
cd ruby-$version
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--libdir=/usr/lib \
--enable-shared \
--disable-install-doc \
--with-openssl-dir=/usr \
--without-gmp \
--with-opt-dir=/usr
make RUSTC="rustc -C embed-bitcode=no"
make RUSTC="rustc -C embed-bitcode=no" DESTDIR=$PKG install
}
signify() {
untrusted comment: public key
RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}
# vim: filetype=sh
|