summaryrefslogtreecommitdiff
blob: 6777ee69d1a554611927ff606d70f4f5acbcfb70 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/nemerle/nemerle-0.9.3.ebuild,v 1.4 2010/02/05 22:51:43 ulm Exp $

inherit mono eutils multilib

DESCRIPTION="A hybrid programming language for the .NET platform"
HOMEPAGE="http://www.nemerle.org/"
SRC_URI="http://www.nemerle.org/download/${P}.tar.bz2"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 x86"
IUSE=""

DEPEND=">=dev-lang/mono-1.1.9.2
		>=dev-lang/python-2.3
		>=dev-libs/libxml2-2.6.4"
RDEPEND="${DEPEND}"

src_compile() {
	./configure --net-engine=/usr/bin/mono \
		--disable-aot \
		--prefix=/usr \
		--libdir=/usr/$(get_libdir) \
		--mandir=/usr/share/man/man1 || die
	emake -j1 || die
}

src_install() {
	emake DESTDIR="${D}" install || die
	dodoc AUTHORS ChangeLog INSTALL NEWS README
}