version bump from usptream
authorSaleem Abdulrasool <compnerd@gentoo.org>
Mon, 12 Feb 2007 07:50:40 +0000 (07:50 +0000)
committerSaleem Abdulrasool <compnerd@gentoo.org>
Mon, 12 Feb 2007 07:50:40 +0000 (07:50 +0000)
Package-Manager: portage-2.1.2-r9

dev-util/mono-tools/ChangeLog
dev-util/mono-tools/files/digest-mono-tools-1.2.3 [new file with mode: 0644]
dev-util/mono-tools/mono-tools-1.2.3.ebuild [new file with mode: 0644]

index cd64eee54b4498b09a653ebae82f937e49d5a7e4..f5c1ddfbaa529993890d4a46f71ccee17dbddfbe 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-util/mono-tools
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/mono-tools/ChangeLog,v 1.19 2007/02/11 04:21:25 pylon Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mono-tools/ChangeLog,v 1.20 2007/02/12 07:50:40 compnerd Exp $
+
+*mono-tools-1.2.3 (12 Feb 2007)
+
+  12 Feb 2007; Saleem Abdulrasool <compnerd@gentoo.org>
+  +mono-tools-1.2.3.ebuild:
+  Version bump from upstream
 
   11 Feb 2007; Lars Weiler <pylon@gentoo.org> mono-tools-1.1.17-r1.ebuild:
   Stable on ppc; bug #164048.
diff --git a/dev-util/mono-tools/files/digest-mono-tools-1.2.3 b/dev-util/mono-tools/files/digest-mono-tools-1.2.3
new file mode 100644 (file)
index 0000000..2cbdf31
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 c52378128076b57ee8718ddb16725336 mono-tools-1.2.3.tar.gz 282287
+RMD160 231d119b0652899e6e84404d7e9efece212fa8e2 mono-tools-1.2.3.tar.gz 282287
+SHA256 f30cceb40fe60c1e703dc193e3ac834b12b8e73e87a2be01696d9d41cb40476a mono-tools-1.2.3.tar.gz 282287
diff --git a/dev-util/mono-tools/mono-tools-1.2.3.ebuild b/dev-util/mono-tools/mono-tools-1.2.3.ebuild
new file mode 100644 (file)
index 0000000..75c073e
--- /dev/null
@@ -0,0 +1,71 @@
+# 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.3.ebuild,v 1.1 2007/02/12 07:50:40 compnerd Exp $
+
+inherit eutils mono multilib autotools
+
+DESCRIPTION="Set of useful Mono related utilities"
+HOMEPAGE="http://www.mono-project.com/"
+SRC_URI="http://www.go-mono.com/sources/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="gtkhtml seamonkey"
+
+RDEPEND="dev-lang/mono
+                >=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"
+
+# Parallel build unfriendly
+MAKEOPTS="${MAKEOPTS} -j1"
+
+pkg_setup() {
+       if ! use gtkhtml && ! use seamonkey ; then
+               einfo "No browser selected, defaulting to gtkhtml"
+       fi
+}
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+
+       # Make the browser optional
+       epatch ${FILESDIR}/${PN}-1.1.17-html-renderer-fixes.diff
+
+       # Install all our .dlls under $(libdir), not $(prefix)/lib
+       if [ $(get_libdir) != "lib" ] ; then
+               sed -i -e 's:$(prefix)/lib:$(libdir):'                    \
+                       ${S}/{asn1view/gtk,docbrowser,gnunit/src}/Makefile.am \
+               || die "sed failed"
+
+               sed -i -e 's:$prefix/lib:@libdir@:' \
+                       ${S}/docbrowser/monodoc.in      \
+               || die "sed failed"
+       fi
+
+       eautoreconf
+}
+
+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
+}