diff options
Diffstat (limited to 'dev-dotnet/gtk-sharp/gtk-sharp-1.0.8.ebuild')
-rw-r--r-- | dev-dotnet/gtk-sharp/gtk-sharp-1.0.8.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/dev-dotnet/gtk-sharp/gtk-sharp-1.0.8.ebuild b/dev-dotnet/gtk-sharp/gtk-sharp-1.0.8.ebuild new file mode 100644 index 000000000000..2dc290d392f3 --- /dev/null +++ b/dev-dotnet/gtk-sharp/gtk-sharp-1.0.8.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gtk-sharp/gtk-sharp-1.0.8.ebuild,v 1.1 2005/03/15 17:50:25 latexer Exp $ + +inherit eutils mono + +DESCRIPTION="Gtk# is a C# language binding for the GTK2 toolkit and GNOME libraries" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz + mirror://gentoo/${P}-configurable.diff.gz" +HOMEPAGE="http://gtk-sharp.sourceforge.net/" + +LICENSE="LGPL-2.1" +SLOT="1" +IUSE="" + +RDEPEND=">=sys-apps/sed-4.0 + >=dev-lang/mono-1.0 + sys-devel/automake + sys-devel/autoconf + >=x11-libs/gtk+-2.2 + >=gnome-base/orbit-2.8.3" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +KEYWORDS="~x86 ~ppc -amd64" + +src_unpack() { + unpack ${A} + + cd ${S} + + epatch ${WORKDIR}/${P}-configurable.diff + aclocal || die + # See bug #73563, comment #9 + libtoolize --copy --force || die + autoconf || die + automake || die + + # disable building of samples (#16015) + sed -i -e "s:sample::" Makefile.in +} + +src_compile() { + local myconf + for package in art glade gnome gnomedb gda gtkhtml rsvg vte + do + myconf="${myconf} --disable-${package}" + done + + econf ${myconf} || die "./configure failed" + LANG=C emake -j1 || die +} + +src_install () { + LANG=C make GACUTIL_FLAGS="/root ${D}/usr/$(get_libdir) /gacdir /usr/$(get_libdir) /package ${PN}" \ + DESTDIR=${D} install || die + + dodoc README* ChangeLog +} |