summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Groesslinger <scandium@gentoo.org>2003-09-29 18:06:18 +0000
committerRainer Groesslinger <scandium@gentoo.org>2003-09-29 18:06:18 +0000
commit18b9cc3ca49b7271082f4b8912d745913a1a4cc8 (patch)
treebaec4b5e8f7ee39fab28083f47f4127924199a68 /dev-dotnet
parentmcs build fix (diff)
downloadhistorical-18b9cc3ca49b7271082f4b8912d745913a1a4cc8.tar.gz
historical-18b9cc3ca49b7271082f4b8912d745913a1a4cc8.tar.bz2
historical-18b9cc3ca49b7271082f4b8912d745913a1a4cc8.zip
mcs build fix
Diffstat (limited to 'dev-dotnet')
-rw-r--r--dev-dotnet/mono/Manifest4
-rw-r--r--dev-dotnet/mono/files/digest-mono-0.26-r12
-rw-r--r--dev-dotnet/mono/mono-0.26-r1.ebuild86
3 files changed, 90 insertions, 2 deletions
diff --git a/dev-dotnet/mono/Manifest b/dev-dotnet/mono/Manifest
index acff1aab8feb..654f44b9f9ed 100644
--- a/dev-dotnet/mono/Manifest
+++ b/dev-dotnet/mono/Manifest
@@ -1,11 +1,11 @@
-MD5 5700c2b620068e9c3170b7ccbd3c71ef ChangeLog 5684
+MD5 a36065fed189605a8cdceb0f94ecf562 ChangeLog 5856
MD5 76b314cc7b7b79b298dd4889dff8c9cd metadata.xml 159
MD5 b0ced0e41b300b3cb15118d72111e862 mono-0.23-r1.ebuild 1903
MD5 0e725b30fa7e76ff69420f5b6da61e49 mono-0.24-r1.ebuild 1905
MD5 c6d92e1d51b20e1942f7d5bbb0c21be9 mono-0.25-r1.ebuild 1928
MD5 b90d364920a184fc42c52cd2810c2a6a mono-0.25.ebuild 1903
MD5 7e99f29e39c3b562219f81032cf55504 mono-0.26.ebuild 2001
-MD5 aa58c256b604184fb0a742689bf54519 mono-0.26-r1.ebuild 2183
+MD5 41abe5d26d300438f2a2b5f9e1bf61d8 mono-0.26-r1.ebuild 2175
MD5 152002c84c4dd3770f370368bf6bb469 files/digest-mono-0.23-r1 123
MD5 69fcf888ecb5ec9c5498caa075565ab6 files/digest-mono-0.24-r1 123
MD5 e1aeccd0dfc7bc9e54ea0884c40a3f45 files/digest-mono-0.25 123
diff --git a/dev-dotnet/mono/files/digest-mono-0.26-r1 b/dev-dotnet/mono/files/digest-mono-0.26-r1
new file mode 100644
index 000000000000..f9f4f430f3eb
--- /dev/null
+++ b/dev-dotnet/mono/files/digest-mono-0.26-r1
@@ -0,0 +1,2 @@
+MD5 6821b1e8e4493109d9d42a90a631223a mono-0.26.tar.gz 8939242
+MD5 4ccc74667ff4d79ba08b341d2e684921 mcs-0.26.tar.gz 5990189
diff --git a/dev-dotnet/mono/mono-0.26-r1.ebuild b/dev-dotnet/mono/mono-0.26-r1.ebuild
new file mode 100644
index 000000000000..d4caf36607b9
--- /dev/null
+++ b/dev-dotnet/mono/mono-0.26-r1.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/mono/mono-0.26-r1.ebuild,v 1.1 2003/09/29 18:06:11 scandium 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-dotnet/pnet"
+
+RDEPEND="${DEPEND}
+ dev-util/pkgconfig
+ dev-libs/libxml2
+ 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 || die
+ MAKEOPTS="${MAKEOPTS} -j1" emake || die "MONO compilation failure"
+
+ ln -s ../runtime ${WORKDIR}/${P}/runtime/lib
+ cd ${MCS_S}
+ echo "prefix=${S}/runtime" > build/config.make
+ echo "MONO_PATH=${S}/runtime" >> build/config.make
+ echo "BOOTSTRAP_MCS=${S}/runtime/mcs" >> build/config.make
+ echo "RUNTIME=${S}/mono/mini/mono \${RUNTIME_FLAGS}" >> build/config.make
+ echo "export MONO_PATH" >> build/config.make
+ make || die "MCS compilation failure"
+ echo "prefix=/usr" >> build/config.make
+}
+
+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
+}