summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2009-09-02 11:22:49 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2009-09-02 11:22:49 +0000
commit2383bb2519b27e28fe91d40044c9874f50d661bd (patch)
treeb4ec0cd6d553a01f2802921913caa393d4f2193f /dev-dotnet
parentVersion bump. (diff)
downloadgentoo-2-2383bb2519b27e28fe91d40044c9874f50d661bd.tar.gz
gentoo-2-2383bb2519b27e28fe91d40044c9874f50d661bd.tar.bz2
gentoo-2-2383bb2519b27e28fe91d40044c9874f50d661bd.zip
Add code to make the .dll.config point to the .so that's installed.
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'dev-dotnet')
-rw-r--r--dev-dotnet/webkit-sharp/ChangeLog8
-rw-r--r--dev-dotnet/webkit-sharp/webkit-sharp-0.2-r1.ebuild41
2 files changed, 48 insertions, 1 deletions
diff --git a/dev-dotnet/webkit-sharp/ChangeLog b/dev-dotnet/webkit-sharp/ChangeLog
index c7f3b1e1aedf..ad4fea6470ea 100644
--- a/dev-dotnet/webkit-sharp/ChangeLog
+++ b/dev-dotnet/webkit-sharp/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-dotnet/webkit-sharp
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/webkit-sharp/ChangeLog,v 1.4 2009/04/30 14:43:48 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/webkit-sharp/ChangeLog,v 1.5 2009/09/02 11:22:49 loki_val Exp $
+
+*webkit-sharp-0.2-r1 (02 Sep 2009)
+
+ 02 Sep 2009; Peter Alfredsen <loki_val@gentoo.org>
+ +webkit-sharp-0.2-r1.ebuild:
+ Add code to make the .dll.config point to the .so that's installed.
30 Apr 2009; Brent Baude <ranger@gentoo.org> webkit-sharp-0.2.ebuild:
Marking webkit-sharp-0.2 ppc for bug 250934
diff --git a/dev-dotnet/webkit-sharp/webkit-sharp-0.2-r1.ebuild b/dev-dotnet/webkit-sharp/webkit-sharp-0.2-r1.ebuild
new file mode 100644
index 000000000000..30b921789068
--- /dev/null
+++ b/dev-dotnet/webkit-sharp/webkit-sharp-0.2-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/webkit-sharp/webkit-sharp-0.2-r1.ebuild,v 1.1 2009/09/02 11:22:49 loki_val Exp $
+
+EAPI=2
+
+inherit mono multilib
+
+DESCRIPTION="WebKit-gtk bindings for Mono"
+HOMEPAGE="http://www.mono-project.com/"
+SRC_URI="http://mono.ximian.com/monobuild/preview/sources/webkit-sharp/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=">=dev-lang/mono-2
+ net-libs/webkit-gtk
+ >=dev-dotnet/gtk-sharp-2"
+
+RDEPEND="${DEPEND}"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+src_prepare() {
+ if [[ -h /usr/$(get_libdir)/libwebkit-1.0.so.2 ]]
+ then
+ ebegin "Adjusting .dll.config to point to the right .so"
+ sed -i \
+ -e 's:@LIB_PREFIX@.1@LIB_SUFFIX@:@LIB_PREFIX@.2@LIB_SUFFIX@:' \
+ sources/webkit-sharp.dll.config.in || die "Sed failed"
+ eend $?
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Install failed"
+ dodoc README ChangeLog || die
+ mono_multilib_comply
+}