Lines 1-4
Link Here
|
1 |
# Copyright 1999-2008 Gentoo Foundation |
1 |
# Copyright 1999-2010 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-scheme/bigloo/bigloo-3.1a.ebuild,v 1.2 2008/08/28 17:49:25 ulm Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-scheme/bigloo/bigloo-3.1a.ebuild,v 1.2 2008/08/28 17:49:25 ulm Exp $ |
4 |
|
4 |
|
Lines 12-20
Link Here
|
12 |
HOMEPAGE="http://www-sop.inria.fr/mimosa/fp/Bigloo/bigloo.html" |
12 |
HOMEPAGE="http://www-sop.inria.fr/mimosa/fp/Bigloo/bigloo.html" |
13 |
SRC_URI="ftp://ftp-sop.inria.fr/mimosa/fp/Bigloo/${MY_P}.tar.gz" |
13 |
SRC_URI="ftp://ftp-sop.inria.fr/mimosa/fp/Bigloo/${MY_P}.tar.gz" |
14 |
|
14 |
|
15 |
SLOT="0" |
|
|
16 |
LICENSE="GPL-2" |
15 |
LICENSE="GPL-2" |
|
|
16 |
SLOT="0" |
17 |
KEYWORDS="~amd64 ~ppc ~x86" |
17 |
KEYWORDS="~amd64 ~ppc ~x86" |
|
|
18 |
IUSE="emacs java" |
18 |
|
19 |
|
19 |
DEPEND="emacs? ( virtual/emacs ) |
20 |
DEPEND="emacs? ( virtual/emacs ) |
20 |
java? ( virtual/jdk )" |
21 |
java? ( virtual/jdk )" |
Lines 23-30
Link Here
|
23 |
|
24 |
|
24 |
SITEFILE="50bigloo-gentoo.el" |
25 |
SITEFILE="50bigloo-gentoo.el" |
25 |
|
26 |
|
26 |
IUSE="emacs java" |
27 |
src_unpack() { |
27 |
# fullbee" |
28 |
unpack ${A} |
|
|
29 |
cd "${S}" |
30 |
|
31 |
sed -i -e 's/^cstrip="-s"/cstrip="no"/' \ |
32 |
-e 's/STRIP=$strip/STRIP=true/' \ |
33 |
configure || die |
34 |
} |
28 |
|
35 |
|
29 |
src_compile() { |
36 |
src_compile() { |
30 |
if use emacs; then |
37 |
if use emacs; then |
Lines 43-71
Link Here
|
43 |
--benchmark=yes \ |
50 |
--benchmark=yes \ |
44 |
--sharedbde=no \ |
51 |
--sharedbde=no \ |
45 |
--sharedcompiler=no \ |
52 |
--sharedcompiler=no \ |
46 |
--coflags="" || die "configure failed" |
53 |
--coflags="" || die |
47 |
|
|
|
48 |
# --bee=$(if use fullbee; then echo full; else echo partial; fi) \ |
49 |
|
54 |
|
50 |
# parallel build is broken |
55 |
# parallel build is broken |
51 |
emake -j1 || die "emake failed" |
56 |
emake -j1 || die "emake failed" |
52 |
} |
57 |
} |
53 |
|
58 |
|
54 |
src_install () { |
59 |
src_install () { |
55 |
# dodir /etc/env.d |
|
|
56 |
# echo "LDPATH=/usr/$(get_libdir)/bigloo/${PV}/" > ${D}/etc/env.d/25bigloo |
57 |
|
58 |
# make the links created not point to DESTDIR, since that is only a temporary home |
60 |
# make the links created not point to DESTDIR, since that is only a temporary home |
59 |
sed 's/ln -s $(DESTDIR)/ln -s /' -i Makefile.misc |
61 |
sed 's/ln -s $(DESTDIR)/ln -s /' -i Makefile.misc || die |
60 |
emake -j1 DESTDIR="${D}" install || die "install failed" |
62 |
emake -j1 DESTDIR="${D}" install || die |
61 |
|
63 |
|
62 |
if use emacs; then |
64 |
if use emacs; then |
63 |
elisp-install ${PN} etc/*.{el,elc} || die "elisp-install failed" |
65 |
elisp-install ${PN} etc/*.{el,elc} || die "elisp-install failed" |
64 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
66 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
65 |
fi |
67 |
fi |
66 |
|
|
|
67 |
# einfo "Compiling bee..." |
68 |
# emake compile-bee || die "compiling bee failed" |
69 |
} |
68 |
} |
70 |
|
69 |
|
71 |
pkg_postinst() { |
70 |
pkg_postinst() { |