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.1b.ebuild
Date: Sun, 12 Oct 2008 16:42:06
Message-Id: E1Kp415-0000Cz-CN@stork.gentoo.org
1 hkbst 08/10/12 16:42:03
2
3 Modified: ChangeLog
4 Added: bigloo-3.1b.ebuild
5 Log:
6 bump
7 (Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 x86_64)
8
9 Revision Changes Path
10 1.28 dev-scheme/bigloo/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/bigloo/ChangeLog?rev=1.28&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/bigloo/ChangeLog?rev=1.28&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/bigloo/ChangeLog?r1=1.27&r2=1.28
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-scheme/bigloo/ChangeLog,v
19 retrieving revision 1.27
20 retrieving revision 1.28
21 diff -u -r1.27 -r1.28
22 --- ChangeLog 28 Aug 2008 17:49:25 -0000 1.27
23 +++ ChangeLog 12 Oct 2008 16:42:03 -0000 1.28
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-scheme/bigloo
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/bigloo/ChangeLog,v 1.27 2008/08/28 17:49:25 ulm Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/bigloo/ChangeLog,v 1.28 2008/10/12 16:42:03 hkbst Exp $
29 +
30 +*bigloo-3.1b (12 Oct 2008)
31 +
32 + 12 Oct 2008; Marijn Schouten <hkBst@g.o> +bigloo-3.1b.ebuild:
33 + bump
34
35 28 Aug 2008; Ulrich Mueller <ulm@g.o> bigloo-2.7a_p2.ebuild,
36 bigloo-2.9a.ebuild, bigloo-3.0a_p2.ebuild, bigloo-3.0b.ebuild,
37
38
39
40 1.1 dev-scheme/bigloo/bigloo-3.1b.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/bigloo/bigloo-3.1b.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/bigloo/bigloo-3.1b.ebuild?rev=1.1&content-type=text/plain
44
45 Index: bigloo-3.1b.ebuild
46 ===================================================================
47 # Copyright 1999-2008 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.1b.ebuild,v 1.1 2008/10/12 16:42:03 hkbst Exp $
50
51 inherit elisp-common multilib
52
53 MY_P=${PN}${PV/_p/-}
54 MY_P=${MY_P/_alpha/-alpha}
55 MY_P=${MY_P/_beta/-beta}
56
57 DESCRIPTION="Bigloo is a Scheme implementation."
58 HOMEPAGE="http://www-sop.inria.fr/mimosa/fp/Bigloo/bigloo.html"
59 SRC_URI="ftp://ftp-sop.inria.fr/mimosa/fp/Bigloo/${MY_P}.tar.gz"
60
61 SLOT="0"
62 LICENSE="GPL-2"
63 KEYWORDS="~amd64 ~ppc ~x86"
64
65 DEPEND="dev-libs/boehm-gc
66 emacs? ( virtual/emacs )
67 java? ( virtual/jdk app-arch/zip )"
68
69 RDEPEND="dev-libs/boehm-gc"
70
71 S=${WORKDIR}/${MY_P%-*}
72
73 SITEFILE="50bigloo-gentoo.el"
74
75 IUSE="emacs java"
76 # fullbee"
77
78 src_compile() {
79 if use emacs; then
80 elisp-compile etc/*.el || die "elisp-compile failed"
81 fi
82
83 # Bigloo doesn't use autoconf and consequently a lot of options used by econf give errors
84 # Manuel Serrano says: "Please, dont talk to me about autoconf. I simply dont want to hear about it..."
85 ./configure \
86 $(use java && echo "--jvm=yes --java=$(java-config --java) --javac=$(java-config --javac)") \
87 --prefix=/usr \
88 --mandir=/usr/share/man \
89 --infodir=/usr/share/info \
90 --libdir=/usr/$(get_libdir) \
91 --docdir=/usr/share/doc/${PF} \
92 --benchmark=yes \
93 --sharedbde=no \
94 --sharedcompiler=no \
95 --customgc=no \
96 --coflags="" || die "configure failed"
97
98 # --bee=$(if use fullbee; then echo full; else echo partial; fi) \
99
100 # parallel build is broken
101 emake -j1 || die "emake failed"
102 }
103
104 src_install () {
105 # dodir /etc/env.d
106 # echo "LDPATH=/usr/$(get_libdir)/bigloo/${PV}/" > ${D}/etc/env.d/25bigloo
107
108 # make the links created not point to DESTDIR, since that is only a temporary home
109 sed 's/ln -s $(DESTDIR)/ln -s /' -i Makefile.misc
110 emake -j1 DESTDIR="${D}" install || die "install failed"
111
112 if use emacs; then
113 elisp-install ${PN} etc/*.{el,elc} || die "elisp-install failed"
114 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
115 fi
116
117 # einfo "Compiling bee..."
118 # emake compile-bee || die "compiling bee failed"
119 }
120
121 pkg_postinst() {
122 use emacs && elisp-site-regen
123 }
124
125 pkg_postrm() {
126 use emacs && elisp-site-regen
127 }