Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 251925 | Differences between
and this patch

Collapse All | Expand All

(-)bigloo-3.1b.ebuild.orig (-17 / +14 lines)
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.1b.ebuild,v 1.1 2008/10/12 16:42:03 hkbst Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-scheme/bigloo/bigloo-3.1b.ebuild,v 1.1 2008/10/12 16:42:03 hkbst Exp $
4
4
Lines 12-33 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="dev-libs/boehm-gc
20
DEPEND="dev-libs/boehm-gc
20
		emacs? ( virtual/emacs )
21
		emacs? ( virtual/emacs )
21
		java? ( virtual/jdk app-arch/zip )"
22
		java? ( virtual/jdk app-arch/zip )"
22
23
RDEPEND="dev-libs/boehm-gc"
23
RDEPEND="dev-libs/boehm-gc"
24
24
25
S=${WORKDIR}/${MY_P%-*}
25
S=${WORKDIR}/${MY_P%-*}
26
26
27
SITEFILE="50bigloo-gentoo.el"
27
SITEFILE="50bigloo-gentoo.el"
28
28
29
IUSE="emacs java"
29
src_unpack() {
30
# fullbee"
30
	unpack ${A}
31
	cd "${S}"
32
	sed -i -e 's/^cstrip="-s"/cstrip="no"/' \
33
		-e 's/STRIP=$strip/STRIP=true/' \
34
		configure || die
35
}
31
36
32
src_compile() {
37
src_compile() {
33
	if use emacs; then
38
	if use emacs; then
Lines 47-75 Link Here
47
		--sharedbde=no \
52
		--sharedbde=no \
48
		--sharedcompiler=no \
53
		--sharedcompiler=no \
49
		--customgc=no \
54
		--customgc=no \
50
		--coflags="" || die "configure failed"
55
		--coflags="" || die
51
52
#		--bee=$(if use fullbee; then echo full; else echo partial; fi) \
53
56
54
	# parallel build is broken
57
	# parallel build is broken
55
	emake -j1 || die "emake failed"
58
	emake -j1 || die
56
}
59
}
57
60
58
src_install () {
61
src_install () {
59
#	dodir /etc/env.d
60
#	echo "LDPATH=/usr/$(get_libdir)/bigloo/${PV}/" > ${D}/etc/env.d/25bigloo
61
62
	# make the links created not point to DESTDIR, since that is only a temporary home
62
	# make the links created not point to DESTDIR, since that is only a temporary home
63
	sed 's/ln -s $(DESTDIR)/ln -s /' -i Makefile.misc
63
	sed 's/ln -s $(DESTDIR)/ln -s /' -i Makefile.misc || die
64
	emake -j1 DESTDIR="${D}" install || die "install failed"
64
	emake -j1 DESTDIR="${D}" install || die
65
65
66
	if use emacs; then
66
	if use emacs; then
67
		elisp-install ${PN} etc/*.{el,elc} || die "elisp-install failed"
67
		elisp-install ${PN} etc/*.{el,elc} || die "elisp-install failed"
68
		elisp-site-file-install "${FILESDIR}/${SITEFILE}"
68
		elisp-site-file-install "${FILESDIR}/${SITEFILE}"
69
	fi
69
	fi
70
71
#	einfo "Compiling bee..."
72
#	emake compile-bee || die "compiling bee failed"
73
}
70
}
74
71
75
pkg_postinst() {
72
pkg_postinst() {

Return to bug 251925