Gentoo Archives: gentoo-dev

From: Donnie Berkholz <dberkholz@g.o>
To: gentoo-dev@l.g.o, nerdboy@g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-java/rjava: rjava-0.5.1.ebuild metadata.xml Manifest ChangeLog
Date: Mon, 01 Oct 2007 05:50:17
Message-Id: 20071001053706.GR28813@supernova
1 On 04:42 Mon 01 Oct , Steve Arnold (nerdboy) wrote:
2 > Revision Changes Path
3 > 1.1 dev-java/rjava/rjava-0.5.1.ebuild
4 >
5 > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/rjava/rjava-0.5.1.ebuild?rev=1.1&view=markup
6 > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/rjava/rjava-0.5.1.ebuild?rev=1.1&content-type=text/plain
7
8 > src_compile() {
9 > export R_HOME="/usr/$(get_libdir)/R"
10 >
11 > # use R's check command to test package (really needs to come before
12 > # the src_compile section)
13 > if has test ${FEATURES}; then
14 > cd ${WORKDIR}
15 > R CMD check ${MY_PN}
16 > fi
17
18 WORKDIR needs quotes.. Also this section is pretty weird.
19
20 > make -f Makevars all || die "make failed"
21
22 Not emake?
23
24 > cd ${WORKDIR}
25 > cd ${S}
26
27 Quotes..
28
29 > if [[ ! -z "`java-config --java-version | grep IBM`" ]] ; then
30
31 -n might be a bit clearer than ! -z.
32
33 > # IBM JDK
34 > JAVA_LIB_DIR="$(java-config --jdk-home)/jre/bin"
35 > else
36 > # Sun derived JDKs (Blackdown, Sun)
37 > JAVA_LIB_DIR="$(java-config --jdk-home)/jre/lib/${jvmarch}"
38 > fi
39
40 Thanks,
41 Donnie
42 --
43 gentoo-dev@g.o mailing list

Replies