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