Contents of /trunk/extras/ruby/ruby-2.5.1-r1.smage2
Parent Directory | Revision Log
Revision 30856 -
(show annotations)
(download)
Thu Apr 26 11:43:37 2018 UTC (6 years, 5 months ago) by niro
File size: 934 byte(s)
Thu Apr 26 11:43:37 2018 UTC (6 years, 5 months ago) by niro
File size: 934 byte(s)
-removed old commented cruft and no need to fix RUBY_LIB_PREFIX anymore
1 | # $Id$ |
2 | |
3 | PNAME="ruby" |
4 | PVER="2.5.1" |
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-7.0 |
13 | >= sys-libs/ncurses-6.0 |
14 | >= dev-libs/libffi-3.2 |
15 | >= dev-libs/openssl-1.1 |
16 | >= dev-db/db-6.2 |
17 | >= dev-lang/tcl-8.6 |
18 | >= dev-lang/tk-8.6 |
19 | >= sys-libs/zlib-1.2.8" |
20 | |
21 | SDEPEND=">= sys-dev/autoconf-4 |
22 | >= sys-dev/automake-3 |
23 | >= virtual/sed" |
24 | |
25 | SRCFILE="${PNAME}-${PVER/_/-}.tar.bz2" |
26 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/-}" |
27 | |
28 | sminclude mbuild mtools |
29 | msetfeature "!check" |
30 | |
31 | SRC_URI=( |
32 | ftp://ftp.ruby-lang.org/pub/${PNAME}/${PVER:0:3}/${SRCFILE} |
33 | mirror://${PNAME}/${SRCFILE} |
34 | ) |
35 | |
36 | UP2DATE="updatecmd ${HOMEPAGE}/en/downloads/ | highesttarball gz" |
37 | |
38 | src_compile() |
39 | { |
40 | cd ${SRCDIR} |
41 | |
42 | mconfigure \ |
43 | --with-sitedir=/usr/$(mlibdir)/ruby/site_ruby \ |
44 | --enable-shared \ |
45 | --enable-pthread \ |
46 | --disable-rpath \ |
47 | --disable-install-doc \ |
48 | || die |
49 | |
50 | mmake || die |
51 | } |