Gentoo Archives: gentoo-commits

From: "Marijn Schouten (hkbst)" <hkbst@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-scheme/bigloo: ChangeLog bigloo-3.0b_p2.ebuild
Date: Mon, 24 Sep 2007 12:43:29
Message-Id: E1IZn9b-0006dI-Tm@stork.gentoo.org
1 hkbst 07/09/24 12:35:11
2
3 Modified: ChangeLog
4 Added: bigloo-3.0b_p2.ebuild
5 Log:
6 bump 3.0b-2, minor bugfix version
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.21 dev-scheme/bigloo/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/bigloo/ChangeLog?rev=1.21&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/bigloo/ChangeLog?rev=1.21&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/bigloo/ChangeLog?r1=1.20&r2=1.21
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-scheme/bigloo/ChangeLog,v
19 retrieving revision 1.20
20 retrieving revision 1.21
21 diff -u -r1.20 -r1.21
22 --- ChangeLog 11 Sep 2007 15:32:44 -0000 1.20
23 +++ ChangeLog 24 Sep 2007 12:35:11 -0000 1.21
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-scheme/bigloo
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/bigloo/ChangeLog,v 1.20 2007/09/11 15:32:44 hkbst Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/bigloo/ChangeLog,v 1.21 2007/09/24 12:35:11 hkbst Exp $
29 +
30 +*bigloo-3.0b_p2 (24 Sep 2007)
31 +
32 + 24 Sep 2007; Marijn Schouten <hkBst@g.o> +bigloo-3.0b_p2.ebuild:
33 + bump 3.0b-2, minor bugfix version
34
35 11 Sep 2007; Marijn Schouten <hkBst@g.o> bigloo-3.0b.ebuild:
36 add java backend, bug 192131
37
38
39
40 1.1 dev-scheme/bigloo/bigloo-3.0b_p2.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/bigloo/bigloo-3.0b_p2.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/bigloo/bigloo-3.0b_p2.ebuild?rev=1.1&content-type=text/plain
44
45 Index: bigloo-3.0b_p2.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-scheme/bigloo/bigloo-3.0b_p2.ebuild,v 1.1 2007/09/24 12:35:11 hkbst Exp $
50
51 inherit elisp-common multilib
52
53 MY_P=${PN}${PV/_p/-}
54
55 DESCRIPTION="Bigloo is a Scheme implementation."
56 HOMEPAGE="http://www-sop.inria.fr/mimosa/fp/Bigloo/bigloo.html"
57 SRC_URI="ftp://ftp-sop.inria.fr/mimosa/fp/Bigloo/${MY_P}.tar.gz"
58
59 SLOT="0"
60 LICENSE="GPL-2"
61 KEYWORDS="~amd64 ~ppc ~x86"
62
63 DEPEND="emacs? ( virtual/emacs )
64 java? ( virtual/jdk )"
65
66 S=${WORKDIR}/${MY_P%-*}
67
68 SITEFILE="50bigloo-gentoo.el"
69
70 IUSE="emacs java"
71 # fullbee"
72
73 src_compile() {
74 use emacs && elisp-comp etc/*.el
75
76 # Bigloo doesn't use autoconf and consequently a lot of options used by econf give errors
77 # Manuel Serrano says: "Please, dont talk to me about autoconf. I simply dont want to hear about it..."
78 ./configure \
79 $(use java && echo "--jvm=yes --java=$(java-config --java) --javac=$(java-config --javac)") \
80 --prefix=/usr \
81 --mandir=/usr/share/man \
82 --infodir=/usr/share/info \
83 --libdir=/usr/$(get_libdir) \
84 --docdir=/usr/share/doc/${PF} \
85 --benchmark=yes \
86 --sharedbde=no \
87 --sharedcompiler=no \
88 --coflags="" || die "configure failed"
89
90 # --bee=$(if use fullbee; then echo full; else echo partial; fi) \
91
92 # parallel build is broken
93 emake -j1 || die "emake failed"
94 }
95
96 # "make test" does something weird so default src_test() in /usr/lib/portage/bin/ebuild.sh fails the following test
97 # elif emake -j1 test -n &> /dev/null; then
98 # so copy straight from default src_test() all the stuff which depends on that test passing
99 src_test() {
100 vecho ">>> Test phase [test]: ${CATEGORY}/${PF}"
101 if ! emake -j1 test; then
102 hasq test $FEATURES && die "Make test failed. See above for details."
103 hasq test $FEATURES || eerror "Make test failed. See above for details."
104 fi
105 }
106
107 src_install () {
108 # dodir /etc/env.d
109 # echo "LDPATH=/usr/$(get_libdir)/bigloo/${PV}/" > ${D}/etc/env.d/25bigloo
110
111 # make the links created not point to DESTDIR, since that is only a temporary home
112 sed 's/ln -s $(DESTDIR)/ln -s /' -i Makefile.misc
113 emake -j1 DESTDIR="${D}" install || die "install failed"
114
115 if use emacs; then
116 elisp-install ${PN} etc/*.el
117 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
118 fi
119
120 # einfo "Compiling bee..."
121 # emake compile-bee || die "compiling bee failed"
122 }
123
124 pkg_postinst() {
125 use emacs && elisp-site-regen
126 }
127
128 pkg_postrm() {
129 use emacs && elisp-site-regen
130 }
131
132
133
134 --
135 gentoo-commits@g.o mailing list