summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Johanson <latexer@gentoo.org>2005-03-11 02:36:03 +0000
committerPeter Johanson <latexer@gentoo.org>2005-03-11 02:36:03 +0000
commit0bed86cfca56db373ec605877355e483a75e8636 (patch)
tree8aabc52f33fd39f0cd10a85f0804503c0787d8cc /dev-lang/nemerle/nemerle-0.2.1-r2.ebuild
parentStable x86 for 6.8.2. (diff)
downloadgentoo-2-0bed86cfca56db373ec605877355e483a75e8636.tar.gz
gentoo-2-0bed86cfca56db373ec605877355e483a75e8636.tar.bz2
gentoo-2-0bed86cfca56db373ec605877355e483a75e8636.zip
Moved from dev-dotnet to dev-lang
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-lang/nemerle/nemerle-0.2.1-r2.ebuild')
-rw-r--r--dev-lang/nemerle/nemerle-0.2.1-r2.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-lang/nemerle/nemerle-0.2.1-r2.ebuild b/dev-lang/nemerle/nemerle-0.2.1-r2.ebuild
new file mode 100644
index 000000000000..3629b8abd677
--- /dev/null
+++ b/dev-lang/nemerle/nemerle-0.2.1-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/nemerle/nemerle-0.2.1-r2.ebuild,v 1.1 2005/03/11 02:36:03 latexer Exp $
+
+inherit mono eutils
+
+DESCRIPTION="A hybrid programming language for the .NET platform"
+HOMEPAGE="http://www.nemerle.org/"
+SRC_URI="http://www.nemerle.org/download/${P}.tar.gz"
+
+LICENSE="nemerle"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND=">=dev-dotnet/mono-1.0
+ >=dev-lang/python-2.3
+ >=dev-libs/libxml2-2.6.4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-ncc-fix.diff
+
+ # Fixes to not do AOT stuff. Mono's AOT is still in
+ # testing, and only works on x86
+ sed -i "s:\(.*\)(NGEN\(.*\):#\1(NGEN\2:" \
+ ${S}/ncc/Makefile || die "sed failed"
+}
+
+src_compile() {
+ ./configure --net-engine=/usr/bin/mono \
+ --prefix=/usr \
+ --mandir=/usr/share/man/man1 || die "configure failed!"
+ make || die "make failed!"
+}
+
+src_install() {
+ emake DESTDIR=${D} install || die
+ dodoc AUTHORS ChangeLog INSTALL NEWS README
+}