Gentoo Archives: gentoo-dev

From: Donnie Berkholz <dberkholz@g.o>
To: gentoo-dev@l.g.o
Cc: rbrown@g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-lang/ruby: ChangeLog ruby-1.8.6_p110.ebuild
Date: Mon, 24 Sep 2007 10:01:42
Message-Id: 20070924094843.GM22279@supernova
1 On 09:38 Mon 24 Sep , Richard Brown (rbrown) wrote:
2 > rbrown 07/09/24 09:38:33
3 >
4 > Modified: ChangeLog
5 > Added: ruby-1.8.6_p110.ebuild
6 > Log:
7 > Version bump
8 > (Portage version: 2.1.3.9)
9
10 > 1.1 dev-lang/ruby/ruby-1.8.6_p110.ebuild
11 >
12 > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p110.ebuild?rev=1.1&view=markup
13 > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p110.ebuild?rev=1.1&content-type=text/plain
14
15 > SRC_URI="ftp://ftp.ruby-lang.org/pub/ruby/1.8/${MY_P}.tar.gz
16
17 > SLOT="1.8"
18
19 > !=dev-lang/ruby-cvs-1.8*
20
21 Would be nice to see all instances of 1.8 use hacked-up PV instead, for
22 easier bumps to 1.9 etc.
23
24 > econf --with-rubydir=${S} || die "econf failed"
25
26 > LD_LIBRARY_PATH=${D}/usr/$(get_libdir)
27 > RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${SLOT}"
28 > for d in $(find ${S}/ext -type d) ; do
29
30 > cp -pPR sample ${D}/usr/share/doc/${PF}
31
32 > cp -pPR test ${D}/usr/share/${PN}-${SLOT}
33
34 Quotes ...
35
36 > make DESTDIR="${D}" install-doc || die "make install-doc failed"
37
38 Why not emake?
39
40 > if [ ! -n "$(readlink ${ROOT}usr/bin/ruby)" ] ; then
41 > ${ROOT}usr/sbin/ruby-config ruby${SLOT/./}
42
43 > if [ ! -n "$(readlink ${ROOT}usr/bin/ruby)" ] ; then
44 > ${ROOT}usr/sbin/ruby-config ruby${SLOT/./}
45 > fi
46
47 ROOT can have spaces in it too.
48
49 Thanks,
50 Donnie
51 --
52 gentoo-dev@g.o mailing list

Replies