Lines 12-35
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 |
# bug 254916 for >=dev-libs/boehm-gc-7.1 |
20 |
# bug 254916 for >=dev-libs/boehm-gc-7.1 |
20 |
DEPEND=">=dev-libs/boehm-gc-7.1 |
21 |
DEPEND=">=dev-libs/boehm-gc-7.1 |
21 |
emacs? ( virtual/emacs ) |
22 |
emacs? ( virtual/emacs ) |
22 |
java? ( virtual/jdk app-arch/zip )" |
23 |
java? ( virtual/jdk app-arch/zip )" |
23 |
|
|
|
24 |
RDEPEND="dev-libs/boehm-gc" |
24 |
RDEPEND="dev-libs/boehm-gc" |
25 |
|
25 |
|
26 |
S=${WORKDIR}/${MY_P} |
26 |
S=${WORKDIR}/${MY_P} |
27 |
|
27 |
|
28 |
SITEFILE="50bigloo-gentoo.el" |
28 |
SITEFILE="50bigloo-gentoo.el" |
29 |
|
29 |
|
30 |
IUSE="emacs java" |
|
|
31 |
# fullbee" |
30 |
# fullbee" |
32 |
|
31 |
|
|
|
32 |
src_unpack() { |
33 |
unpack ${A} |
34 |
cd "${S}" |
35 |
sed -i -e 's/^cstrip="-s"/cstrip="no"/' \ |
36 |
-e 's/STRIP=$strip/STRIP=true/' \ |
37 |
configure || die |
38 |
} |
33 |
src_compile() { |
39 |
src_compile() { |
34 |
if use emacs; then |
40 |
if use emacs; then |
35 |
elisp-compile etc/*.el || die "elisp-compile failed" |
41 |
elisp-compile etc/*.el || die "elisp-compile failed" |
Lines 48-58
Link Here
|
48 |
--sharedbde=no \ |
54 |
--sharedbde=no \ |
49 |
--sharedcompiler=no \ |
55 |
--sharedcompiler=no \ |
50 |
--customgc=no \ |
56 |
--customgc=no \ |
51 |
--coflags="" || die "configure failed" |
57 |
--coflags="" || die |
52 |
|
58 |
|
53 |
# --bee=$(if use fullbee; then echo full; else echo partial; fi) \ |
59 |
# --bee=$(if use fullbee; then echo full; else echo partial; fi) \ |
54 |
|
60 |
|
55 |
emake || die "emake failed" |
61 |
emake || die |
56 |
} |
62 |
} |
57 |
|
63 |
|
58 |
src_install () { |
64 |
src_install () { |
Lines 60-66
Link Here
|
60 |
# echo "LDPATH=/usr/$(get_libdir)/bigloo/${PV}/" > ${D}/etc/env.d/25bigloo |
66 |
# echo "LDPATH=/usr/$(get_libdir)/bigloo/${PV}/" > ${D}/etc/env.d/25bigloo |
61 |
|
67 |
|
62 |
#bug 254916, should already be fixed upstream |
68 |
#bug 254916, should already be fixed upstream |
63 |
emake -j1 DESTDIR="${D}" install || die "install failed" |
69 |
emake -j1 DESTDIR="${D}" install || die |
64 |
|
70 |
|
65 |
if use emacs; then |
71 |
if use emacs; then |
66 |
elisp-install ${PN} etc/*.{el,elc} || die "elisp-install failed" |
72 |
elisp-install ${PN} etc/*.{el,elc} || die "elisp-install failed" |