summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Berman <tberman@gentoo.org>2003-07-25 00:14:06 +0000
committerTodd Berman <tberman@gentoo.org>2003-07-25 00:14:06 +0000
commit4a90493062b3daaf2def30e7a6248914935e12a2 (patch)
tree87ff24dcf69aa992ec5225b8d07a6a68f57e95b1 /dev-dotnet
parentmoving mono to dev-dotnet (diff)
downloadgentoo-2-4a90493062b3daaf2def30e7a6248914935e12a2.tar.gz
gentoo-2-4a90493062b3daaf2def30e7a6248914935e12a2.tar.bz2
gentoo-2-4a90493062b3daaf2def30e7a6248914935e12a2.zip
moving mono to dev-dotnet
Diffstat (limited to 'dev-dotnet')
-rw-r--r--dev-dotnet/mono/ChangeLog149
-rw-r--r--dev-dotnet/mono/Manifest12
-rw-r--r--dev-dotnet/mono/files/digest-mono-0.23-r12
-rw-r--r--dev-dotnet/mono/files/digest-mono-0.24-r12
-rw-r--r--dev-dotnet/mono/files/digest-mono-0.252
-rw-r--r--dev-dotnet/mono/files/digest-mono-0.25-r12
-rw-r--r--dev-dotnet/mono/files/dotnet.conf11
-rw-r--r--dev-dotnet/mono/files/dotnet.init45
-rw-r--r--dev-dotnet/mono/metadata.xml5
-rw-r--r--dev-dotnet/mono/mono-0.23-r1.ebuild78
-rw-r--r--dev-dotnet/mono/mono-0.24-r1.ebuild77
-rw-r--r--dev-dotnet/mono/mono-0.25-r1.ebuild78
-rw-r--r--dev-dotnet/mono/mono-0.25.ebuild77
13 files changed, 534 insertions, 6 deletions
diff --git a/dev-dotnet/mono/ChangeLog b/dev-dotnet/mono/ChangeLog
new file mode 100644
index 000000000000..ee13aeb393e5
--- /dev/null
+++ b/dev-dotnet/mono/ChangeLog
@@ -0,0 +1,149 @@
+# ChangeLog for dev-lang/mono
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/mono/ChangeLog,v 1.1 2003/07/25 00:12:47 tberman Exp $
+
+*mono-0.25 (24 Jul 2003)
+
+ 24 Jul 2003; Todd Berman <tberman@gentoo.org> metadata.xml,
+ mono-0.23-r1.ebuild, mono-0.24-r1.ebuild, mono-0.25-r1.ebuild,
+ mono-0.25.ebuild, files/dotnet.conf, files/dotnet.init:
+ Moving to dev-dotnet
+
+ 20 Jul 2003; Todd Berman <tberman@gentoo.org> mono-0.23-r1.ebuild,
+ mono-0.24-r1.ebuild, mono-0.25-r1.ebuild, mono-0.25.ebuild:
+ Fixing licenses for mono, added GPL-2 and X11
+
+ 20 Jul 2003; Todd Berman <tberman@gentoo.org> metadata.xml, mono-0.25-r1.ebuild:
+ Fixed up depend issues, thanks liquidx :)
+
+ 16 Jul 2003; Todd Berman <tberman@gentoo.org> mono-0.25-r1.ebuild:
+ Changing to blocking libxml2-2.5.8, portage version with this fully working is
+ masked, but it will hopefully be stable soon, before 1.4 for sure.
+
+ 16 Jul 2003; Todd Berman <tberman@gentoo.org> mono-0.25-r1.ebuild:
+ libxml2-2.5.8 breaks xslt on mono, and until ! blocker deps work, masking it
+ like this.
+
+*mono-0.25-r1 (13 Jul 2003)
+
+ 13 Jul 2003; Todd Berman <tberman@gentoo.org> mono-0.25-r1.ebuild:
+ Changed gc to included (modified boehm), its required by the debugger (next
+ piece to enter portage).
+
+*mono-0.25 (27 Jun 2003)
+
+ 27 Jun 2003; foser <foser@gentoo.org> mono-0.25.ebuild :
+ New version
+
+*mono-0.24-r1 (12 May 2003)
+
+ 12 May 2003; Rainer Groesslinger <scandium@gentoo.org> mono-0.23-r1.ebuild,
+ mono-0.24-r1.ebuild, files/dotnet.conf, files/dotnet.init:
+ init script provided by
+ Per Wigren <wigren@home.se> in bug #19617
+ with some enhancements added
+
+*mono-0.24 (08 May 2003)
+
+ 08 May 2003; foser <foser@gentoo.org> mono-0.24.ebuild :
+ New version, use new compiler for mcs compilation and path fixes (#17614)
+
+*mono-0.23-r1 (12 May 2003)
+
+ 11 Jul 2003; Daniel Ahlberg <aliz@gentoo.org> :
+ Added missing changelog entry.
+
+*mono-0.23 (08 Mar 2003)
+
+ 12 Mar 2003; foser <foser@gentoo.org> mono-0.23.ebuild :
+ Install icons as requested/done by mathias.hasselmann@gmx.de
+
+ 08 Mar 2003; foser <foser@gentoo.org> mono-0.23.ebuild :
+ New version
+
+*mono-0.22 (06 Mar 2003)
+
+ 06 Mar 2003; foser <foser@gentoo.org> mono-0.22.ebuild :
+ New version
+
+*mono-0.21 (28 Feb 2003)
+
+ 28 Feb 2003; foser <foser@gentoo.org> mono-0.21.ebuild :
+ New version
+
+*mono-0.20-r1 (27 Feb 2003)
+
+ 28 Feb 2003; foser <foser@gentoo.org> mono-0.20-r1.ebuild :
+ Removed redundant patch, there was another way to do this duh :/
+
+ 27 Feb 2003; foser <foser@gentoo.org> mono-0.20-r1.ebuild :
+ Compiles mcs from scratch now
+ Initial work done by Artur Brodowski <bzdurqa@wp.pl> in #16316
+ Hacked on a lot by me to get it right
+ Now also uses mono eclass
+
+*mono-0.20 (24 Feb 2003)
+
+ 24 Feb 2003; foser <foser@gentoo.org> mono-0.20.ebuild :
+ New version
+
+*mono-0.19 (22 Jan 2003)
+
+ 22 Jan 2003; Brandon Low <lostlogic@gentoo.org> mono-0.19.ebuild :
+ New version
+
+*mono-0.18 (13 jan 2003)
+
+ 13 Jan 2003; foser <foser@gentoo.org> mono-0.18.ebuild :
+ New version
+
+*mono-0.17 (10 Dec 2002)
+
+ 10 Dec 2002; foser <foser@gentoo.org> mono-0.17.ebuild :
+ New version
+
+*mono-0.16 (24 Oct 2002)
+
+ 24 Oct 2002; foser <foser@gentoo.org> mono-0.16.ebuild :
+
+ New version, now depends on boehm-gc
+
+*mono-0.13 (29 Jul 2002)
+
+ 29 Jul 2002; Kevyn Shortell <trance@gentoo.org> mono-0.13.ebuild, ChangeLog:
+ Added >=glib-2.x as a dependency, closing bug #5708. Many thanks to Nathan
+ Sharfi <nisharfi@csupomona.edu> for testing ebuild on glib-1.3 machine to
+ find the bug =).
+
+*mono-0.13 (28 Jul 2002)
+
+ 28 Jul 2002; Phil Bordelon <sunflare@gentoo.org> mono-0.13.ebuild, ChangeLog:
+ Added pkgconfig as a dependency, closing bug #5665. Thanks to Nathan
+ Sharfi <nisharfi@csupomona.edu> for pointing this out.
+
+ 27 Jul 2002: Kevyn Shortell <trance@gentoo.org> mono-0.13.ebuild, ChangLog:
+ updated to mono-0.13.ebuild. The ebuild was submitted by Luis Mayoral <satriani@okulto.net>.
+ Tested on PPC and X86, failed PPC. repo'd and submitted.
+
+*mono-0.12 (28 Jul 2002)
+
+ 28 Jul 2002; Phil Bordelon <sunflare@gentoo.org> mono-0.12.ebuild, ChangeLog:
+ Added pkgconfig as a dependency, closing bug #5665. Thanks to Nathan
+ Sharfi <nisharfi@csupomona.edu> for pointing this out.
+
+ 24 Jul 2002: Brandon Low <lostlogic@gentoo.org> mono-0.12.ebuild, ChangeLog:
+ Doesn't like parallel make, and .keep a dir that it might need (othewise why did
+ it create it?)
+
+ 23 Jul 2002; Phil Bordelon <sunflare@gentoo.org> ChangeLog: Unmasking the ebuild.
+ PLEASE NOTE that the build has been known to bomb on at least one machine, although
+ it worked on all of the rest of them that we tested it on. This is very much
+ work-in-progress software, so please take that into account before you start to
+ post bugs.
+
+ 23 Jul 2002; Phil Bordelon <sunflare@gentoo.org> mono-0.12.ebuild: dodoc should
+ grab 'ChangeLog,' not 'Changelog.' Fixed.
+
+ 23 Jul 2002; Phil Bordelon <sunflare@gentoo.org> mono-0.12.ebuild, ChangeLog:
+ Original release. The ebuild was submitted by Luis Mayoral <satriani@okulto.net>.
+ Lintool'd and repoman'd by me.
diff --git a/dev-dotnet/mono/Manifest b/dev-dotnet/mono/Manifest
index b8b5d50b8741..46dc84db8ed4 100644
--- a/dev-dotnet/mono/Manifest
+++ b/dev-dotnet/mono/Manifest
@@ -1,11 +1,11 @@
-MD5 cc8ac7809dc76d69fd5a7dfe3483404f mono-0.24-r1.ebuild 1895
-MD5 9e4e7d911804c59130c92db1eb01e515 mono-0.23-r1.ebuild 1894
-MD5 460518b376b6b2f21612624a99153af1 mono-0.25.ebuild 1893
-MD5 0c6969ed965dd03d75ed67db5d3d41af mono-0.25-r1.ebuild 1918
-MD5 6ff3f0a7f1375268dab39c6f20fd284e ChangeLog 4933
+MD5 5e673ff023f1cc1053398493a9ed1079 mono-0.24-r1.ebuild 1897
+MD5 7f630a65da501ccb4944b0b67fdec35d mono-0.23-r1.ebuild 1896
+MD5 e4b16de0f4dfb740ef6078faa9d1616e mono-0.25.ebuild 1895
+MD5 bea4a2283d77f2a70d09fb1f64c00232 mono-0.25-r1.ebuild 1920
+MD5 4095ebed49298af574586741bf2b8243 ChangeLog 5169
MD5 76b314cc7b7b79b298dd4889dff8c9cd metadata.xml 159
MD5 0649de7e8ec73c0c5dc85fe677fe4948 files/dotnet.conf 350
-MD5 c8db2904965d6ed0f1e5545c4516304d files/dotnet.init 1052
+MD5 d99350349456a4b93036b317754b836f files/dotnet.init 1053
MD5 e1aeccd0dfc7bc9e54ea0884c40a3f45 files/digest-mono-0.25 123
MD5 152002c84c4dd3770f370368bf6bb469 files/digest-mono-0.23-r1 123
MD5 69fcf888ecb5ec9c5498caa075565ab6 files/digest-mono-0.24-r1 123
diff --git a/dev-dotnet/mono/files/digest-mono-0.23-r1 b/dev-dotnet/mono/files/digest-mono-0.23-r1
new file mode 100644
index 000000000000..34c497d71a91
--- /dev/null
+++ b/dev-dotnet/mono/files/digest-mono-0.23-r1
@@ -0,0 +1,2 @@
+MD5 a3d65cde58a14e9f2353fa20fa492ab1 mono-0.23.tar.gz 3391671
+MD5 8eb7ca046bc969ae94841563ae6ef22d mcs-0.23.tar.gz 4318632
diff --git a/dev-dotnet/mono/files/digest-mono-0.24-r1 b/dev-dotnet/mono/files/digest-mono-0.24-r1
new file mode 100644
index 000000000000..fb712b0da1a0
--- /dev/null
+++ b/dev-dotnet/mono/files/digest-mono-0.24-r1
@@ -0,0 +1,2 @@
+MD5 f064872ec93de8cfc47ecadb8aa73edb mono-0.24.tar.gz 4020161
+MD5 1331b62892dae6f78e83a4caadaabcfe mcs-0.24.tar.gz 5098337
diff --git a/dev-dotnet/mono/files/digest-mono-0.25 b/dev-dotnet/mono/files/digest-mono-0.25
new file mode 100644
index 000000000000..e9cb01df15d6
--- /dev/null
+++ b/dev-dotnet/mono/files/digest-mono-0.25
@@ -0,0 +1,2 @@
+MD5 086b4f0961f97a4ce25feac167c69de1 mono-0.25.tar.gz 5831383
+MD5 4b6fb86f97bd1e034d412b78ced7acc3 mcs-0.25.tar.gz 5430517
diff --git a/dev-dotnet/mono/files/digest-mono-0.25-r1 b/dev-dotnet/mono/files/digest-mono-0.25-r1
new file mode 100644
index 000000000000..e9cb01df15d6
--- /dev/null
+++ b/dev-dotnet/mono/files/digest-mono-0.25-r1
@@ -0,0 +1,2 @@
+MD5 086b4f0961f97a4ce25feac167c69de1 mono-0.25.tar.gz 5831383
+MD5 4b6fb86f97bd1e034d412b78ced7acc3 mcs-0.25.tar.gz 5430517
diff --git a/dev-dotnet/mono/files/dotnet.conf b/dev-dotnet/mono/files/dotnet.conf
new file mode 100644
index 000000000000..865174a626e4
--- /dev/null
+++ b/dev-dotnet/mono/files/dotnet.conf
@@ -0,0 +1,11 @@
+# configuration file for dotnet
+
+# Define what to register with .NET IL binaries so you can avoid
+# running them with "<runtime> program.exe"
+# NOTE: In order to get this working you need to "chmod +x" your program
+
+# Valid options are:
+# "mono" - use the mono JIT compiler 'mono'
+# "ilrun" - use the DotGNU Portable .NET interpreter 'ilrun'
+
+CLR=""
diff --git a/dev-dotnet/mono/files/dotnet.init b/dev-dotnet/mono/files/dotnet.init
new file mode 100644
index 000000000000..3649dd4970f8
--- /dev/null
+++ b/dev-dotnet/mono/files/dotnet.init
@@ -0,0 +1,45 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/mono/files/dotnet.init,v 1.1 2003/07/25 00:12:47 tberman Exp $
+
+
+start() {
+ ebegin "Registering .NET IL binaries with ${CLR}"
+
+ if [ ! -d /proc/sys/fs/binfmt_misc ]; then
+ eerror "You need support for \"misc binaries\" in your kernel!"
+ exit 1
+ fi
+
+ mount | grep -q binfmt_misc
+ if [ $? != 0 ]; then
+ mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc
+ if [ $? != 0 ]; then
+ eend 1
+ exit 1
+ fi
+ fi
+
+ case "${CLR}" in
+
+ mono ) echo ':CLR:M::MZ::/usr/bin/mono:' > /proc/sys/fs/binfmt_misc/register
+ eend 0
+ ;;
+ ilrun ) echo ':CLR:M::MZ::/usr/bin/ilrun:' > /proc/sys/fs/binfmt_misc/register
+ eend 0
+ ;;
+ * ) eerror 'Please enter a valid option in /etc/conf.d/dotnet'
+ eend 1
+ ;;
+ esac
+}
+
+stop() {
+ ebegin "Unregistering .NET IL binaries"
+
+ if [ -f /proc/sys/fs/binfmt_misc/CLR ]; then
+ echo '-1' > /proc/sys/fs/binfmt_misc/CLR
+ fi
+ eend $?
+}
diff --git a/dev-dotnet/mono/metadata.xml b/dev-dotnet/mono/metadata.xml
new file mode 100644
index 000000000000..e85974a7fa17
--- /dev/null
+++ b/dev-dotnet/mono/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>dotnet</herd>
+</pkgmetadata>
diff --git a/dev-dotnet/mono/mono-0.23-r1.ebuild b/dev-dotnet/mono/mono-0.23-r1.ebuild
new file mode 100644
index 000000000000..351b0faf298d
--- /dev/null
+++ b/dev-dotnet/mono/mono-0.23-r1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/mono/mono-0.23-r1.ebuild,v 1.1 2003/07/25 00:12:47 tberman Exp $
+
+inherit eutils mono
+
+MCS_P="mcs-${PV}"
+MCS_S=${WORKDIR}/${MCS_P}
+
+IUSE=""
+DESCRIPTION="Mono runtime and class librarier, a C# compiler/interpreter"
+SRC_URI="http://www.go-mono.com/archive/${P}.tar.gz
+ http://www.go-mono.com/archive/${MCS_P}.tar.gz"
+HOMEPAGE="http://www.go-mono.com/"
+
+LICENSE="GPL-2 | LGPL-2 | X11"
+SLOT="0"
+
+KEYWORDS="x86 -ppc"
+
+DEPEND="virtual/glibc
+ >=dev-libs/glib-2.0
+ >=dev-libs/boehm-gc-6.1"
+
+RDEPEND="${DEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+
+ # add our own little in-place mcs script
+ echo "${S}/mono/jit/mono ${S}/runtime/mcs.exe \"\$@\" " > ${S}/runtime/mcs
+ chmod +x ${S}/runtime/mcs
+}
+
+src_compile() {
+ econf --with-gc=boehm || die
+ MAKEOPTS="${MAKEOPTS} -j1" emake || die "MONO compilation failure"
+
+ cd ${MCS_S}
+ PATH=${PATH}:${S}/runtime:${S}/mono/jit MONO_PATH=${MONO_PATH}:${S}/runtime emake -f makefile.gnu || die "MCS compilation failure"
+}
+
+src_install () {
+ cd ${S}
+ einstall || die
+
+ dodoc AUTHORS ChangeLog COPYING.LIB NEWS README
+ docinto docs
+ dodoc docs/*
+
+ # now install our own compiled dlls
+ cd ${MCS_S}
+ einstall || die
+
+ # install mono's logo
+ insopts -m0644
+ insinto /usr/share/pixmaps/mono
+ doins MonoIcon.png ScalableMonoIcon.svg
+
+ docinto mcs
+ dodoc AUTHORS COPYING README* ChangeLog INSTALL.txt
+ docinto mcs/docs
+ dodoc docs/*.txt
+
+ # init script
+ exeinto /etc/init.d ; newexe ${FILESDIR}/dotnet.init dotnet
+ insinto /etc/conf.d ; newins ${FILESDIR}/dotnet.conf dotnet
+}
+
+pkg_postinst() {
+ echo
+ einfo "If you want to avoid typing '<runtime> program.exe'"
+ einfo "you can configure your runtime in /etc/conf.d/dotnet"
+ einfo "Use /etc/init.d/dotnet to register your runtime"
+ echo
+}
+
diff --git a/dev-dotnet/mono/mono-0.24-r1.ebuild b/dev-dotnet/mono/mono-0.24-r1.ebuild
new file mode 100644
index 000000000000..256d3e480ba6
--- /dev/null
+++ b/dev-dotnet/mono/mono-0.24-r1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/mono/mono-0.24-r1.ebuild,v 1.1 2003/07/25 00:12:47 tberman Exp $
+
+inherit eutils mono
+
+MCS_P="mcs-${PV}"
+MCS_S=${WORKDIR}/${MCS_P}
+
+IUSE=""
+DESCRIPTION="Mono runtime and class librarier, a C# compiler/interpreter"
+SRC_URI="http://www.go-mono.com/archive/${P}.tar.gz
+ http://www.go-mono.com/archive/${MCS_P}.tar.gz"
+HOMEPAGE="http://www.go-mono.com/"
+
+LICENSE="GPL-2 | LGPL-2 | X11"
+SLOT="0"
+
+KEYWORDS="x86 -ppc"
+
+DEPEND="virtual/glibc
+ >=dev-libs/glib-2.0
+ >=dev-libs/boehm-gc-6.1"
+
+RDEPEND="${DEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+
+ # add our own little in-place mcs script
+ echo "${S}/mono/mini/mono ${S}/runtime/mcs.exe \"\$@\" " > ${S}/runtime/mcs
+ chmod +x ${S}/runtime/mcs
+}
+
+src_compile() {
+ econf --with-gc=boehm || die
+ MAKEOPTS="${MAKEOPTS} -j1" emake || die "MONO compilation failure"
+
+ cd ${MCS_S}
+ PATH=${S}/runtime:${S}/mono/mini:${PATH} MONO_PATH=${S}/runtime:${MONO_PATH} emake -f makefile.gnu || die "MCS compilation failure"
+}
+
+src_install () {
+ cd ${S}
+ einstall || die
+
+ dodoc AUTHORS ChangeLog COPYING.LIB NEWS README
+ docinto docs
+ dodoc docs/*
+
+ # now install our own compiled dlls
+ cd ${MCS_S}
+ einstall || die
+
+ # install mono's logo
+ insopts -m0644
+ insinto /usr/share/pixmaps/mono
+ doins MonoIcon.png ScalableMonoIcon.svg
+
+ docinto mcs
+ dodoc AUTHORS COPYING README* ChangeLog INSTALL.txt
+ docinto mcs/docs
+ dodoc docs/*.txt
+
+ # init script
+ exeinto /etc/init.d ; newexe ${FILESDIR}/dotnet.init dotnet
+ insinto /etc/conf.d ; newins ${FILESDIR}/dotnet.conf dotnet
+}
+
+pkg_postinst() {
+ echo
+ einfo "If you want to avoid typing '<runtime> program.exe'"
+ einfo "you can configure your runtime in /etc/conf.d/dotnet"
+ einfo "Use /etc/init.d/dotnet to register your runtime"
+ echo
+}
diff --git a/dev-dotnet/mono/mono-0.25-r1.ebuild b/dev-dotnet/mono/mono-0.25-r1.ebuild
new file mode 100644
index 000000000000..d1b76f63ce67
--- /dev/null
+++ b/dev-dotnet/mono/mono-0.25-r1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/mono/mono-0.25-r1.ebuild,v 1.1 2003/07/25 00:12:47 tberman Exp $
+
+inherit eutils mono
+
+MCS_P="mcs-${PV}"
+MCS_S=${WORKDIR}/${MCS_P}
+
+IUSE=""
+DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
+SRC_URI="http://www.go-mono.com/archive/${P}.tar.gz
+ http://www.go-mono.com/archive/${MCS_P}.tar.gz"
+HOMEPAGE="http://www.go-mono.com/"
+
+LICENSE="GPL-2 | LGPL-2 | X11"
+SLOT="0"
+
+KEYWORDS="~x86 -ppc"
+
+DEPEND="virtual/glibc
+ >=dev-libs/glib-2.0"
+
+RDEPEND="${DEPEND}
+ dev-util/pkgconfig
+ <=dev-libs/libxml2-2.5.7
+ dev-libs/libxslt"
+
+src_unpack() {
+ unpack ${A}
+
+ # add our own little in-place mcs script
+ echo "${S}/mono/mini/mono ${S}/runtime/mcs.exe \"\$@\" " > ${S}/runtime/mcs
+ chmod +x ${S}/runtime/mcs
+}
+
+src_compile() {
+ econf --with-gc=included || die
+ MAKEOPTS="${MAKEOPTS} -j1" emake || die "MONO compilation failure"
+
+ cd ${MCS_S}
+ PATH=${S}/runtime:${S}/mono/mini:${PATH} MONO_PATH=${S}/runtime:${MONO_PATH} emake -f makefile.gnu || die "MCS compilation failure"
+}
+
+src_install () {
+ cd ${S}
+ einstall || die
+
+ dodoc AUTHORS ChangeLog COPYING.LIB NEWS README
+ docinto docs
+ dodoc docs/*
+
+ # now install our own compiled dlls
+ cd ${MCS_S}
+ einstall || die
+
+ # install mono's logo
+ insopts -m0644
+ insinto /usr/share/pixmaps/mono
+ doins MonoIcon.png ScalableMonoIcon.svg
+
+ docinto mcs
+ dodoc AUTHORS COPYING README* ChangeLog INSTALL.txt
+ docinto mcs/docs
+ dodoc docs/*.txt
+
+ # init script
+ exeinto /etc/init.d ; newexe ${FILESDIR}/dotnet.init dotnet
+ insinto /etc/conf.d ; newins ${FILESDIR}/dotnet.conf dotnet
+}
+
+pkg_postinst() {
+ echo
+ einfo "If you want to avoid typing '<runtime> program.exe'"
+ einfo "you can configure your runtime in /etc/conf.d/dotnet"
+ einfo "Use /etc/init.d/dotnet to register your runtime"
+ echo
+}
diff --git a/dev-dotnet/mono/mono-0.25.ebuild b/dev-dotnet/mono/mono-0.25.ebuild
new file mode 100644
index 000000000000..3531cd838c0a
--- /dev/null
+++ b/dev-dotnet/mono/mono-0.25.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/mono/mono-0.25.ebuild,v 1.1 2003/07/25 00:12:47 tberman Exp $
+
+inherit eutils mono
+
+MCS_P="mcs-${PV}"
+MCS_S=${WORKDIR}/${MCS_P}
+
+IUSE=""
+DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
+SRC_URI="http://www.go-mono.com/archive/${P}.tar.gz
+ http://www.go-mono.com/archive/${MCS_P}.tar.gz"
+HOMEPAGE="http://www.go-mono.com/"
+
+LICENSE="GPL-2 | LGPL-2 | X11"
+SLOT="0"
+
+KEYWORDS="~x86 -ppc"
+
+DEPEND="virtual/glibc
+ >=dev-libs/glib-2.0
+ >=dev-libs/boehm-gc-6.1"
+
+RDEPEND="${DEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+
+ # add our own little in-place mcs script
+ echo "${S}/mono/mini/mono ${S}/runtime/mcs.exe \"\$@\" " > ${S}/runtime/mcs
+ chmod +x ${S}/runtime/mcs
+}
+
+src_compile() {
+ econf --with-gc=boehm || die
+ MAKEOPTS="${MAKEOPTS} -j1" emake || die "MONO compilation failure"
+
+ cd ${MCS_S}
+ PATH=${S}/runtime:${S}/mono/mini:${PATH} MONO_PATH=${S}/runtime:${MONO_PATH} emake -f makefile.gnu || die "MCS compilation failure"
+}
+
+src_install () {
+ cd ${S}
+ einstall || die
+
+ dodoc AUTHORS ChangeLog COPYING.LIB NEWS README
+ docinto docs
+ dodoc docs/*
+
+ # now install our own compiled dlls
+ cd ${MCS_S}
+ einstall || die
+
+ # install mono's logo
+ insopts -m0644
+ insinto /usr/share/pixmaps/mono
+ doins MonoIcon.png ScalableMonoIcon.svg
+
+ docinto mcs
+ dodoc AUTHORS COPYING README* ChangeLog INSTALL.txt
+ docinto mcs/docs
+ dodoc docs/*.txt
+
+ # init script
+ exeinto /etc/init.d ; newexe ${FILESDIR}/dotnet.init dotnet
+ insinto /etc/conf.d ; newins ${FILESDIR}/dotnet.conf dotnet
+}
+
+pkg_postinst() {
+ echo
+ einfo "If you want to avoid typing '<runtime> program.exe'"
+ einfo "you can configure your runtime in /etc/conf.d/dotnet"
+ einfo "Use /etc/init.d/dotnet to register your runtime"
+ echo
+}