blob: 375884affe40e9bfd15b4e5cda791c8566f60d51 (
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
51
52
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/boo/boo-0.7.9.2659.ebuild,v 1.2 2007/12/31 04:34:40 jurek Exp $
inherit mono fdo-mime eutils autotools
DESCRIPTION="A wrist friendly language for the CLI"
HOMEPAGE="http://boo.codehaus.org/"
SRC_URI="http://dist.codehaus.org/${PN}/distributions/${P}.tar.gz"
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*"
MAKEOPTS="-j1 ${MAKEOPTS}"
src_unpack() {
unpack ${A}
cd "${S}"
sed -i -e \
's#boo.lang##' extras/Makefile.am \
|| die "sed failed"
sed -i -e \
's#^libdir=${prefix}/lib$#libdir=${prefix}/lib/mono#' \
extras/boo.pc.in \
|| die "sed failed"
eautoreconf || die "eautoreconf failed"
}
src_compile() {
econf || die "econf failed"
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "install failed"
dodoc ChangeLog README || die "dodoc failed"
}
pkg_postinst() {
fdo-mime_mime_database_update
}
|