blob: 702ebf27e689f5548fa1cd8f4ab0694720fd3057 (
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-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/boo/boo-0.8.2.2960.ebuild,v 1.4 2009/04/04 14:46:25 maekke 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="${MAKEOPTS} -j1"
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
}
|