diff options
author | Alexandru Cepoi <alex.cepoi@gmail.com> | 2010-05-29 05:36:18 +0300 |
---|---|---|
committer | Alexandru Cepoi <alex.cepoi@gmail.com> | 2010-05-29 05:36:18 +0300 |
commit | fb27da896c609a92cf38727dae3f380442e937e2 (patch) | |
tree | 3b802a7af5fc20336b26832713846fd3f726f57f /dev-dotnet/webkit-sharp/webkit-sharp-0.3.ebuild | |
parent | fix monodevelop dependencies (diff) | |
download | alexcepoi-fb27da896c609a92cf38727dae3f380442e937e2.tar.gz alexcepoi-fb27da896c609a92cf38727dae3f380442e937e2.tar.bz2 alexcepoi-fb27da896c609a92cf38727dae3f380442e937e2.zip |
add webkit-sharp-0.3
Diffstat (limited to 'dev-dotnet/webkit-sharp/webkit-sharp-0.3.ebuild')
-rw-r--r-- | dev-dotnet/webkit-sharp/webkit-sharp-0.3.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-dotnet/webkit-sharp/webkit-sharp-0.3.ebuild b/dev-dotnet/webkit-sharp/webkit-sharp-0.3.ebuild new file mode 100644 index 0000000..a9a27fd --- /dev/null +++ b/dev-dotnet/webkit-sharp/webkit-sharp-0.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +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 +} |