summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJurek Bartuszek <jurek@gentoo.org>2007-12-31 18:59:37 +0000
committerJurek Bartuszek <jurek@gentoo.org>2007-12-31 18:59:37 +0000
commitb7f5503638ef567a6d147ff79a3fbec0edda104d (patch)
tree955b94281d18e89d987d53f47180aa37356ec0cf /dev-dotnet
parentdev-dotnet/ikvm: version bump (diff)
downloadgentoo-2-b7f5503638ef567a6d147ff79a3fbec0edda104d.tar.gz
gentoo-2-b7f5503638ef567a6d147ff79a3fbec0edda104d.tar.bz2
gentoo-2-b7f5503638ef567a6d147ff79a3fbec0edda104d.zip
dev-dotnet/ikvm-bin: version bump
(Portage version: 2.1.3.19)
Diffstat (limited to 'dev-dotnet')
-rw-r--r--dev-dotnet/ikvm-bin/ChangeLog8
-rw-r--r--dev-dotnet/ikvm-bin/files/digest-ikvm-bin-0.36.0.53
-rw-r--r--dev-dotnet/ikvm-bin/files/ikvm-0.36.0.5.pc.in9
-rw-r--r--dev-dotnet/ikvm-bin/ikvm-bin-0.36.0.5.ebuild48
4 files changed, 67 insertions, 1 deletions
diff --git a/dev-dotnet/ikvm-bin/ChangeLog b/dev-dotnet/ikvm-bin/ChangeLog
index 337512c37c24..33286ed59ef2 100644
--- a/dev-dotnet/ikvm-bin/ChangeLog
+++ b/dev-dotnet/ikvm-bin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-dotnet/ikvm-bin
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/ikvm-bin/ChangeLog,v 1.6 2007/06/28 03:46:37 jurek Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/ikvm-bin/ChangeLog,v 1.7 2007/12/31 18:59:37 jurek Exp $
+
+*ikvm-bin-0.36.0.5 (31 Dec 2007)
+
+ 31 Dec 2007; Jurek Bartuszek <jurek@gentoo.org>
+ +files/ikvm-0.36.0.5.pc.in, +ikvm-bin-0.36.0.5.ebuild:
+ Version bump
28 Jun 2007; Jurek Bartuszek <jurek@gentoo.org> ikvm-bin-0.34.0.2.ebuild:
Fixed SRC_URI (bug #183478)
diff --git a/dev-dotnet/ikvm-bin/files/digest-ikvm-bin-0.36.0.5 b/dev-dotnet/ikvm-bin/files/digest-ikvm-bin-0.36.0.5
new file mode 100644
index 000000000000..5f2df0fc3e01
--- /dev/null
+++ b/dev-dotnet/ikvm-bin/files/digest-ikvm-bin-0.36.0.5
@@ -0,0 +1,3 @@
+MD5 f9d10c9818c52b3341d50298e15c4a1e ikvmbin-0.36.0.5.zip 10463405
+RMD160 c2b2009836e2c037bf0cdac74a2e0fda4930df1d ikvmbin-0.36.0.5.zip 10463405
+SHA256 f5addfbab8185f8a5858e07042ebe45429bb10500383c93182a8e4829def4b0a ikvmbin-0.36.0.5.zip 10463405
diff --git a/dev-dotnet/ikvm-bin/files/ikvm-0.36.0.5.pc.in b/dev-dotnet/ikvm-bin/files/ikvm-0.36.0.5.pc.in
new file mode 100644
index 000000000000..aaf131f3531f
--- /dev/null
+++ b/dev-dotnet/ikvm-bin/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-bin/ikvm-bin-0.36.0.5.ebuild b/dev-dotnet/ikvm-bin/ikvm-bin-0.36.0.5.ebuild
new file mode 100644
index 000000000000..cce87db5eea6
--- /dev/null
+++ b/dev-dotnet/ikvm-bin/ikvm-bin-0.36.0.5.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/ikvm-bin/ikvm-bin-0.36.0.5.ebuild,v 1.1 2007/12/31 18:59:37 jurek Exp $
+
+inherit eutils mono multilib
+
+MY_P=${P/-bin/}
+MY_PN=${PN/-bin/}
+
+DESCRIPTION="Java VM for .NET"
+HOMEPAGE="http://www.ikvm.net/"
+SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}bin-${PV}.zip"
+LICENSE="as-is"
+
+SLOT="0"
+S=${WORKDIR}/${MY_P}
+
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND=">=dev-lang/mono-1.1
+ !dev-dotnet/ikvm
+ app-arch/unzip"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ # Remove Windows specific libraries
+ rm bin/JVM.DLL bin/ikvm-native.dll
+
+ insinto /usr/$(get_libdir)/${MY_PN}
+ doins bin/* || die "doins failed"
+
+ for exe in ikvm ikvmc ikvmstub;
+ do
+ make_wrapper ${exe} "mono /usr/$(get_libdir)/${MY_PN}/${exe}.exe"
+ done
+
+ dodir /usr/$(get_libdir)/pkgconfig
+ sed -e "s:@VERSION@:${PV}:" \
+ -e "s:@LIBDIR@:$(get_libdir):" \
+ "${FILESDIR}"/${MY_P}.pc.in > "${D}"/usr/$(get_libdir)/pkgconfig/${MY_PN}.pc
+
+ 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
+}