diff options
author | Saleem Abdulrasool <compnerd@gentoo.org> | 2007-12-30 06:19:02 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@gentoo.org> | 2007-12-30 06:19:02 +0000 |
commit | b42f09af7980e33f4bcb1a28e12958e00057d071 (patch) | |
tree | af608d1f599ebbb688a51212a2443eb62af26a06 /dev-util/mono-tools/mono-tools-1.2.6.ebuild | |
parent | fix some quoting issues (diff) | |
download | gentoo-2-b42f09af7980e33f4bcb1a28e12958e00057d071.tar.gz gentoo-2-b42f09af7980e33f4bcb1a28e12958e00057d071.tar.bz2 gentoo-2-b42f09af7980e33f4bcb1a28e12958e00057d071.zip |
version bump from upstream
(Portage version: 2.1.4_rc11)
Diffstat (limited to 'dev-util/mono-tools/mono-tools-1.2.6.ebuild')
-rw-r--r-- | dev-util/mono-tools/mono-tools-1.2.6.ebuild | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/dev-util/mono-tools/mono-tools-1.2.6.ebuild b/dev-util/mono-tools/mono-tools-1.2.6.ebuild new file mode 100644 index 000000000000..7dd8ef74d7f3 --- /dev/null +++ b/dev-util/mono-tools/mono-tools-1.2.6.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/mono-tools/mono-tools-1.2.6.ebuild,v 1.1 2007/12/30 06:19:01 compnerd Exp $ + +inherit mono multilib eutils + +DESCRIPTION="Set of useful Mono related utilities" +HOMEPAGE="http://www.mono-project.com/" +SRC_URI="http://www.go-mono.com/sources/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd" +IUSE="gtkhtml seamonkey" + +RDEPEND=">=dev-lang/mono-1.0 + >=dev-util/monodoc-${PV} + =dev-dotnet/gtk-sharp-2* + =dev-dotnet/glade-sharp-2* + =dev-dotnet/gconf-sharp-2* + gtkhtml? ( =dev-dotnet/gtkhtml-sharp-2* ) + seamonkey? ( =dev-dotnet/gecko-sharp-0.11* ) + !seamonkey? ( =dev-dotnet/gtkhtml-sharp-2* )" +DEPEND="${RDEPEND} + sys-devel/gettext + >=dev-util/pkgconfig-0.19" + +pkg_setup() { + if ! use gtkhtml && ! use seamonkey ; then + elog "No browser selected, defaulting to gtkhtml" + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + # Make the browser optional + epatch "${FILESDIR}/${PN}-1.2.6-html-renderer-fixes.patch" + + # Install all our .dlls under $(libdir), not $(prefix)/lib + find "${S}" -name 'Makefile*' -exec \ + sed -i -e "s:\$(prefix)/lib:\$(prefix)/$(get_libdir):g" \ + -e "s:\${prefix}/lib:\${prefix}/$(get_libdir):g" \ + {} \; \ + || die "libdir fixup failed" + + sed -i -e 's:$prefix/lib:@libdir@:' \ + "${S}"/docbrowser/monodoc.in \ + || die "sed failed" +} + +src_compile() { + local myconf="$(use_enable gtkhtml) $(use_enable seamonkey mozilla)" + + if ! use gtktml && ! use seamonkey ; then + myconf="--enable-gtkhtml --disable-mozilla" + fi + + econf ${myconf} || die "configure failed" + emake || die "make failed" +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc ChangeLog README +} |