diff options
author | Peter Alfredsen <loki_val@gentoo.org> | 2009-05-22 20:35:21 +0000 |
---|---|---|
committer | Peter Alfredsen <loki_val@gentoo.org> | 2009-05-22 20:35:21 +0000 |
commit | 6ba5428ee440bc75eaf8cf55afa11a86c4d7e2ae (patch) | |
tree | d5ed90ed4b7f3be1533b277a4a34428dd93e63a1 /dev-dotnet/gecko-sharp | |
parent | Version bump, #268503 (diff) | |
download | gentoo-2-6ba5428ee440bc75eaf8cf55afa11a86c4d7e2ae.tar.gz gentoo-2-6ba5428ee440bc75eaf8cf55afa11a86c4d7e2ae.tar.bz2 gentoo-2-6ba5428ee440bc75eaf8cf55afa11a86c4d7e2ae.zip |
Re-instate. Needed by mono-tools-1.2.1. Kudos to Mr. Bones for noticing.
(Portage version: 2.2_rc33/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'dev-dotnet/gecko-sharp')
-rw-r--r-- | dev-dotnet/gecko-sharp/ChangeLog | 6 | ||||
-rw-r--r-- | dev-dotnet/gecko-sharp/gecko-sharp-0.11-r1.ebuild | 51 |
2 files changed, 56 insertions, 1 deletions
diff --git a/dev-dotnet/gecko-sharp/ChangeLog b/dev-dotnet/gecko-sharp/ChangeLog index 86db75bd4064..7061b12580a9 100644 --- a/dev-dotnet/gecko-sharp/ChangeLog +++ b/dev-dotnet/gecko-sharp/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-dotnet/gecko-sharp # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gecko-sharp/ChangeLog,v 1.55 2009/05/22 01:03:57 loki_val Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gecko-sharp/ChangeLog,v 1.56 2009/05/22 20:35:21 loki_val Exp $ + + 22 May 2009; Peter Alfredsen <loki_val@gentoo.org> + +gecko-sharp-0.11-r1.ebuild: + Re-instate. Needed by mono-tools-1.2.1. Kudos to Mr. Bones for noticing. 22 May 2009; Peter Alfredsen <loki_val@gentoo.org> -gecko-sharp-0.11-r1.ebuild, -gecko-sharp-0.12.ebuild: diff --git a/dev-dotnet/gecko-sharp/gecko-sharp-0.11-r1.ebuild b/dev-dotnet/gecko-sharp/gecko-sharp-0.11-r1.ebuild new file mode 100644 index 000000000000..a2801132d343 --- /dev/null +++ b/dev-dotnet/gecko-sharp/gecko-sharp-0.11-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gecko-sharp/gecko-sharp-0.11-r1.ebuild,v 1.7 2009/05/22 20:35:21 loki_val Exp $ + +inherit mono multilib + +MY_P="${P/${PN}/${PN}-2.0}" + +DESCRIPTION="A Gtk# Mozilla binding" +HOMEPAGE="http://www.go-mono.com/" +SRC_URI="http://www.go-mono.com/sources/${PN}-2.0/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="amd64 ppc x86" +IUSE="" + +S=${WORKDIR}/${MY_P} + +DEPEND=">=dev-lang/mono-1.0 + >=dev-dotnet/gtk-sharp-2.4.0 + || ( + =www-client/seamonkey-1* + =www-client/mozilla-firefox-2* + )" + +src_unpack() { + unpack ${A} + if [ $(get_libdir) != "lib" ] ; then + sed -i -e 's:^libdir.*:libdir=@libdir@:' \ + -e 's:${prefix}/lib:${libdir}:' \ + -e 's:$(prefix)/lib:$(libdir):' \ + "${S}"/Makefile.{in,am} "${S}"/*.pc.in || die + fi +} + +src_compile() { + econf || die "./configure failed!" + emake -j1 || die "emake failed" +} + +src_install() { + make GACUTIL_FLAGS="/root ${D}/usr/$(get_libdir) /gacdir /usr/$(get_libdir) /package ${PN}-2.0" \ + DESTDIR="${D}" install || die + + mv "${D}"/usr/bin/webshot "${D}"/usr/bin/webshot-2.0 + sed -i -e "s:nailer:nailer-2.0:" "${D}"/usr/bin/webshot-2.0 + + mv "${D}"/usr/$(get_libdir)/gecko-sharp/WebThumbnailer.exe \ + "${D}"/usr/$(get_libdir)/gecko-sharp/WebThumbnailer-2.0.exe +} |