blob: dcf6549f58a1526bbd507e4395dd9e1e91b2dceb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/boo/boo-0.7.0.1921.ebuild,v 1.3 2005/11/14 06:51:42 latexer Exp $
inherit mono fdo-mime eutils
DESCRIPTION="A wrist friendly language for the CLI"
HOMEPAGE="http://boo.codehaus.org/"
SRC_URI="http://dist.codehaus.org/boo/distributions/${P}-src.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND=">=dev-lang/mono-1.1.4
dev-dotnet/nant
x11-misc/shared-mime-info
>=x11-libs/gtksourceview-1.0.1"
src_unpack() {
if best_version "dev-lang/boo"; then
if ! has_version ">=dev-lang/boo-0.7.0.1921"; then
eerror "This version of boo has a problem compiling when an older"
eerror "of boo is present on the system. Please unmerge boo and"
eerror "then try emerging this version of boo. See bug #108520"
eerror "at https://bugs.gentoo.org/show_bug.cgi?id=108520 for more"
eerror "details."
die "Version of boo installed will cause compilation errors."
fi
fi
unpack ${A}
cd ${S}
}
src_compile() {
LC_ALL="C" LANG="C" nant -D:install.prefix=/usr || die
}
src_install() {
LC_ALL="C" LANG="C" nant install \
-D:install.destdir=${D} -D:install.prefix=/usr || die
}
pkg_postinst() {
fdo-mime_desktop_database_update
}
|