Magellan Linux

Contents of /trunk/extras/ruby/ruby-3.2.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 33550 - (show annotations) (download)
Wed Aug 2 09:31:02 2023 UTC (9 months, 2 weeks ago) by niro
File size: 963 byte(s)
-ver bump to 3.2.2-r1
1 # $Id$
2
3 PNAME="ruby"
4 PVER="3.2.2"
5 PBUILD="r1"
6
7 PCAT="dev-lang"
8
9 DESCRIPTION="Ruby is an object-oriented scripting language."
10 HOMEPAGE="http://www.ruby-lang.org/"
11
12 DEPEND=">= sys-libs/readline-8.2
13 >= sys-libs/ncurses-6.4
14 >= dev-libs/libffi-3.4
15 >= dev-libs/libyaml-0.2
16 >= dev-libs/openssl-3.1
17 >= dev-db/db-6.2
18 >= dev-lang/tcl-8.6
19 >= dev-lang/tk-8.6
20 >= sys-libs/zlib-1.2.13"
21
22 SDEPEND=">= sys-dev/autoconf-4
23 >= sys-dev/automake-3
24 >= virtual/sed"
25
26 SRCFILE="${PNAME}-${PVER/_/-}.tar.xz"
27 SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/-}"
28
29 sminclude mbuild mtools
30 msetfeature "!check"
31
32 SRC_URI=(
33 https://cache.ruby-lang.org/pub/${PNAME}/${PVER:0:3}/${SRCFILE}
34 mirror://${PNAME}/${SRCFILE}
35 )
36
37 UP2DATE="updatecmd ${HOMEPAGE}/en/downloads/ | highesttarball gz"
38
39 src_compile()
40 {
41 cd ${SRCDIR}
42
43 mconfigure \
44 --with-sitedir=/usr/$(mlibdir)/ruby/site_ruby \
45 --enable-shared \
46 --enable-pthread \
47 --disable-rpath \
48 --disable-install-doc \
49 || die
50
51 mmake || die
52 }