summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarinus Schraal <foser@gentoo.org>2003-01-25 02:07:30 +0000
committerMarinus Schraal <foser@gentoo.org>2003-01-25 02:07:30 +0000
commitca03a0cdacfbe859262b0c3518cd1e83f0ee80a6 (patch)
tree4fd47f63d651cc4b77f06a1d7be974459eb3e23a
parentcleanup (diff)
downloadgentoo-2-ca03a0cdacfbe859262b0c3518cd1e83f0ee80a6.tar.gz
gentoo-2-ca03a0cdacfbe859262b0c3518cd1e83f0ee80a6.tar.bz2
gentoo-2-ca03a0cdacfbe859262b0c3518cd1e83f0ee80a6.zip
New version
-rw-r--r--dev-libs/gtk-sharp/ChangeLog7
-rw-r--r--dev-libs/gtk-sharp/files/digest-gtk-sharp-0.71
-rw-r--r--dev-libs/gtk-sharp/gtk-sharp-0.7.ebuild45
3 files changed, 52 insertions, 1 deletions
diff --git a/dev-libs/gtk-sharp/ChangeLog b/dev-libs/gtk-sharp/ChangeLog
index 74e15efca483..db00c48c7201 100644
--- a/dev-libs/gtk-sharp/ChangeLog
+++ b/dev-libs/gtk-sharp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/gtk-sharp
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gtk-sharp/ChangeLog,v 1.3 2002/12/12 01:47:06 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gtk-sharp/ChangeLog,v 1.4 2003/01/25 02:07:30 foser Exp $
+
+*gtk-sharp-0.7 (24 Jan 2003)
+
+ 24 Jan 2003; foser <foser@gentoo.org> gtk-sharp-0.7.ebuild :
+ New version
*gtk-sharp-0.6 (10 Dec 2002)
diff --git a/dev-libs/gtk-sharp/files/digest-gtk-sharp-0.7 b/dev-libs/gtk-sharp/files/digest-gtk-sharp-0.7
new file mode 100644
index 000000000000..072edb4a1e56
--- /dev/null
+++ b/dev-libs/gtk-sharp/files/digest-gtk-sharp-0.7
@@ -0,0 +1 @@
+MD5 54237554ced8f772ab2b5e35c6200dde gtk-sharp-0.7.tar.gz 504357
diff --git a/dev-libs/gtk-sharp/gtk-sharp-0.7.ebuild b/dev-libs/gtk-sharp/gtk-sharp-0.7.ebuild
new file mode 100644
index 000000000000..af95ab08a3f9
--- /dev/null
+++ b/dev-libs/gtk-sharp/gtk-sharp-0.7.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gtk-sharp/gtk-sharp-0.7.ebuild,v 1.1 2003/01/25 02:07:30 foser Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Gtk# is a C# language binding for the GTK2 toolkit."
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://gtk-sharp.sourceforge.net/"
+
+LICENSE="LGPL"
+SLOT="0"
+IUSE="gnome"
+
+DEPEND=">=dev-lang/mono-0.16
+ >=x11-libs/gtk+-2
+ >=gnome-base/libglade-2
+ gnome? ( >=gnome-base/libgnomecanvas-2
+ >=gnome-base/libgnomeui-2 )"
+
+KEYWORDS="~x86 -ppc"
+
+src_compile() {
+
+ local myconf
+ myconf="--enable-glade"
+
+ use gnome \
+ && myconf="${myconf} --enable-gnome" \
+ || myconf="${myconf} --disable-gnome"
+
+ econf ${myconf} || die "./configure failed"
+
+ # mcs wants this during build
+ addwrite ~/.wapi
+ emake || die
+}
+
+src_install () {
+ # Path for the installation of the libs is hardcoded in the Makefile,
+ # so we need to change it - Is being changed, check evry release
+ for i in $(find . -iname Makefile); do cp $i ${i}.orig; sed "s:${DESTDIR}/usr:${D}/usr:" $i.orig > $i; done
+
+ einstall || die
+ dodoc HACKING README* ChangeLog
+}