summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/gtk-server/gtk-server-2.0.2.ebuild')
-rw-r--r--x11-libs/gtk-server/gtk-server-2.0.2.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/x11-libs/gtk-server/gtk-server-2.0.2.ebuild b/x11-libs/gtk-server/gtk-server-2.0.2.ebuild
new file mode 100644
index 000000000000..083ebd30f8e6
--- /dev/null
+++ b/x11-libs/gtk-server/gtk-server-2.0.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk-server/gtk-server-2.0.2.ebuild,v 1.1 2005/06/23 19:00:16 mkennedy Exp $
+
+inherit eutils
+
+DESCRIPTION="GTK-server provides a stream-oriented interface to the GTK+ widget set"
+HOMEPAGE="http://www.turtle.dds.nl/gtk-server/index.html"
+SRC_URI="mirror://sourceforge/gtk-server/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="gtk2"
+
+DEPEND="gtk2? ( =x11-libs/gtk+-2* )
+ !gtk2? ( =x11-libs/gtk+-1* )
+ dev-libs/libffi"
+
+src_compile() {
+ local myconf=""
+ if use gtk2; then myconf="--with-gtk2"; else myconf="--with-gtk1"; fi
+ sed -i -e 's,-DLOCALCFG=\\".*\\",-DLOCALCFG=\\"/etc/gtk-server.cfg\\",g' \
+ -e "s,@CFLAGS@,@CFLAGS@ ${CFLAGS},g" Makefile.in
+ econf ${myconf} || die
+ emake || die
+}
+
+src_install() {
+ dobin gtk-server
+ doman {gtk-server,gtk-server.cfg}.1
+ dodoc README CREDITS
+ insinto /etc
+ doins gtk-server.cfg
+}