diff options
-rw-r--r-- | dev-dotnet/ikvm/ChangeLog | 8 | ||||
-rw-r--r-- | dev-dotnet/ikvm/files/digest-ikvm-0.36.0.5 | 9 | ||||
-rw-r--r-- | dev-dotnet/ikvm/files/ikvm-0.36.0.5.pc.in | 9 | ||||
-rw-r--r-- | dev-dotnet/ikvm/files/key.snk | bin | 0 -> 596 bytes | |||
-rw-r--r-- | dev-dotnet/ikvm/ikvm-0.36.0.5.ebuild | 69 |
5 files changed, 94 insertions, 1 deletions
diff --git a/dev-dotnet/ikvm/ChangeLog b/dev-dotnet/ikvm/ChangeLog index 280ef1cb8504..5afb09aafb12 100644 --- a/dev-dotnet/ikvm/ChangeLog +++ b/dev-dotnet/ikvm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-dotnet/ikvm # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/ikvm/ChangeLog,v 1.17 2007/07/28 12:46:23 jurek Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/ikvm/ChangeLog,v 1.18 2007/12/31 18:55:42 jurek Exp $ + +*ikvm-0.36.0.5 (31 Dec 2007) + + 31 Dec 2007; Jurek Bartuszek <jurek@gentoo.org> + +files/ikvm-0.36.0.5.pc.in, +files/key.snk, +ikvm-0.36.0.5.ebuild: + Version bump 28 Jul 2007; Jurek Bartuszek <jurek@gentoo.org> ikvm-0.34.0.2.ebuild: Removed windows-only libraries (fixing bug #186837) diff --git a/dev-dotnet/ikvm/files/digest-ikvm-0.36.0.5 b/dev-dotnet/ikvm/files/digest-ikvm-0.36.0.5 new file mode 100644 index 000000000000..24af0b00ca4c --- /dev/null +++ b/dev-dotnet/ikvm/files/digest-ikvm-0.36.0.5 @@ -0,0 +1,9 @@ +MD5 61abaabd02bcd11b275a2ad6ed6cb401 classpath-0.95-stripped.zip 3217515 +RMD160 d399f7a6aa1c70fefdefb3e4fd4ebb71bd8f45ef classpath-0.95-stripped.zip 3217515 +SHA256 f2d386dedb3c4aa61fe21c84863e0899903dbc4628fdd95b855c067193ee0552 classpath-0.95-stripped.zip 3217515 +MD5 3653fa50bcd84b61510935b6077d9ec6 ikvm-0.36.0.5.zip 13984212 +RMD160 0ea02aa458493f65730eb38cc2e4997304328700 ikvm-0.36.0.5.zip 13984212 +SHA256 5dfe99246914cf46201231d6d9fb782e8a2846d4dc2398de82dfffb61c88b913 ikvm-0.36.0.5.zip 13984212 +MD5 f47f3bf819919e585854de401099a626 openjdk-b13-stripped.zip 44733966 +RMD160 a9b2c156acb2a85ab72bd38bbe3adb4de259959b openjdk-b13-stripped.zip 44733966 +SHA256 7b55c4d827475f98aaebe04ccb31adcc69cd6c792892c0616dc7b651809093f9 openjdk-b13-stripped.zip 44733966 diff --git a/dev-dotnet/ikvm/files/ikvm-0.36.0.5.pc.in b/dev-dotnet/ikvm/files/ikvm-0.36.0.5.pc.in new file mode 100644 index 000000000000..aaf131f3531f --- /dev/null +++ b/dev-dotnet/ikvm/files/ikvm-0.36.0.5.pc.in @@ -0,0 +1,9 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${prefix}/@LIBDIR@ + + +Name: IKVM.NET +Description: An implementation of Java for Mono and the Microsoft .NET Framework. +Version: @VERSION@ +Libs: -r:${libdir}/ikvm/IKVM.Runtime.dll -r:${libdir}/ikvm/IKVM.OpenJDK.ClassLibrary.dll -r:${libdir}/ikvm/IKVM.AWT.WinForms.dll diff --git a/dev-dotnet/ikvm/files/key.snk b/dev-dotnet/ikvm/files/key.snk Binary files differnew file mode 100644 index 000000000000..52c5bb21264c --- /dev/null +++ b/dev-dotnet/ikvm/files/key.snk diff --git a/dev-dotnet/ikvm/ikvm-0.36.0.5.ebuild b/dev-dotnet/ikvm/ikvm-0.36.0.5.ebuild new file mode 100644 index 000000000000..45af07ba6059 --- /dev/null +++ b/dev-dotnet/ikvm/ikvm-0.36.0.5.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/ikvm/ikvm-0.36.0.5.ebuild,v 1.1 2007/12/31 18:55:42 jurek Exp $ + +inherit eutils mono multilib + +CLASSPATH_P="classpath-0.95" + +ECJ_V=3.2.2 +ECJ_DATESTAMP=200702121330 + +DESCRIPTION="Java VM for .NET" +HOMEPAGE="http://www.ikvm.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.zip + mirror://sourceforge/${PN}/classpath-0.95-stripped.zip + mirror://sourceforge/${PN}/openjdk-b13-stripped.zip" +LICENSE="as-is" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=">=dev-lang/mono-1.1" +DEPEND="${RDEPEND} + !dev-dotnet/ikvm-bin + >=dev-dotnet/nant-0.85 + >=virtual/jdk-1.5 + app-arch/unzip" + +src_compile() { + # Add missing strong name key + cp "${FILESDIR}"/key.snk "${S}"/mykey.snk + + # Remove unneccesary executables and + # Windows-only libraries (bug #186837) + rm bin/{IKVM*dll,*.exe,JVM.DLL,ikvm-native.dll} + + # We use javac instead of ecj because of + # memory related problems (see bug #183526) + sed -i \ + -e 's#ecj#javac#' \ + -e 's#-1.5#-J-mx384M -source 1.5#' \ + classpath/classpath.build \ + || die "sed failed" + + nant -t:mono-2.0 signed || die "ikvm build failed" +} + +src_install() { + insinto /usr/$(get_libdir)/${PN} + doins bin/* + + for exe in ikvm ikvmc ikvmstub; + do + make_wrapper ${exe} "mono /usr/$(get_libdir)/${PN}/${exe}.exe" + done + + dodir /usr/$(get_libdir)/pkgconfig + sed -e "s:@VERSION@:${PV}:" \ + -e "s:@LIBDIR@:$(get_libdir):" \ + "${FILESDIR}"/${P}.pc.in > "${D}"/usr/$(get_libdir)/pkgconfig/${PN}.pc \ + || die "sed failed" + + for dll in IKVM.AWT.WinForms IKVM.OpenJDK.ClassLibrary IKVM.Runtime + do + gacutil -i bin/${dll}.dll -root "${D}"/usr/$(get_libdir) \ + -gacdir /usr/$(get_libdir) -package ${dll} > /dev/null + done +} |