diff options
author | Todd Berman <tberman@gentoo.org> | 2003-07-25 00:12:53 +0000 |
---|---|---|
committer | Todd Berman <tberman@gentoo.org> | 2003-07-25 00:12:53 +0000 |
commit | 68af03b1f927a87019db8ae9a597133c0893cbbd (patch) | |
tree | 2789ae387108cb8212a630af4af46c2632f4ddd3 /dev-dotnet | |
parent | moving mono to dev-dotnet (diff) | |
download | historical-68af03b1f927a87019db8ae9a597133c0893cbbd.tar.gz historical-68af03b1f927a87019db8ae9a597133c0893cbbd.tar.bz2 historical-68af03b1f927a87019db8ae9a597133c0893cbbd.zip |
moving mono to dev-dotnet
Diffstat (limited to 'dev-dotnet')
-rw-r--r-- | dev-dotnet/mono/Manifest | 12 | ||||
-rw-r--r-- | dev-dotnet/mono/files/digest-mono-0.23-r1 | 2 | ||||
-rw-r--r-- | dev-dotnet/mono/files/digest-mono-0.24-r1 | 2 | ||||
-rw-r--r-- | dev-dotnet/mono/files/digest-mono-0.25 | 2 | ||||
-rw-r--r-- | dev-dotnet/mono/files/digest-mono-0.25-r1 | 2 | ||||
-rw-r--r-- | dev-dotnet/mono/files/dotnet.conf | 11 | ||||
-rw-r--r-- | dev-dotnet/mono/files/dotnet.init | 45 | ||||
-rw-r--r-- | dev-dotnet/mono/metadata.xml | 5 | ||||
-rw-r--r-- | dev-dotnet/mono/mono-0.23-r1.ebuild | 78 | ||||
-rw-r--r-- | dev-dotnet/mono/mono-0.24-r1.ebuild | 77 | ||||
-rw-r--r-- | dev-dotnet/mono/mono-0.25-r1.ebuild | 78 | ||||
-rw-r--r-- | dev-dotnet/mono/mono-0.25.ebuild | 77 |
12 files changed, 385 insertions, 6 deletions
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 +} |