summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/gtk+/gtk+-1.2.10-r9.ebuild')
-rw-r--r--x11-libs/gtk+/gtk+-1.2.10-r9.ebuild83
1 files changed, 83 insertions, 0 deletions
diff --git a/x11-libs/gtk+/gtk+-1.2.10-r9.ebuild b/x11-libs/gtk+/gtk+-1.2.10-r9.ebuild
new file mode 100644
index 000000000000..3d8454536472
--- /dev/null
+++ b/x11-libs/gtk+/gtk+-1.2.10-r9.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-1.2.10-r9.ebuild,v 1.1 2002/09/26 04:12:33 spider Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="The GIMP Toolkit"
+HOMEPAGE="http://www.gtk.org/"
+SRC_URI="ftp://ftp.gtk.org/pub/gtk/v1.2/${P}.tar.gz
+ ftp://ftp.gnome.org/pub/GNOME/stable/sources/gtk+/${P}.tar.gz
+ http://ftp.gnome.org/pub/GNOME/stable/sources/gtk+/${P}.tar.gz
+ http://www.ibiblio.org/gentoo/distfiles/gtk+-1.2.10-r8-gentoo.diff.bz2"
+
+DEPEND="virtual/x11
+ =dev-libs/glib-1.2*
+ nls? ( sys-devel/gettext
+ dev-util/intltool )"
+
+SLOT="1"
+LICENSE="LGPL-2.1"
+KEYWORDS="x86 ppc sparc sparc64 alpha"
+
+src_unpack() {
+
+ unpack ${P}.tar.gz
+
+ cd ${S}/..
+ bzcat ${DISTDIR}/gtk+-1.2.10-r8-gentoo.diff.bz2 | patch -p0
+
+}
+
+src_compile() {
+
+ libtoolize --copy --force
+
+ local myconf
+ use nls || myconf="${myconf} --disable-nls"
+
+ if [ "${DEBUG}" ]
+ then
+ myconf="${myconf} --enable-debug=yes"
+ else
+ myconf="${myconf} --enable-debug=minimum"
+ fi
+
+ econf \
+ --sysconfdir=/etc/X11 \
+ --with-xinput=xfree \
+ --with-x \
+ ${myconf} || die
+
+ emake || die
+}
+
+src_install() {
+
+ make install DESTDIR=${D} || die
+
+ preplib /usr
+
+ dodoc AUTHORS COPYING ChangeLog* HACKING
+ dodoc NEWS* README* TODO
+ docinto docs
+ cd docs
+ dodoc *.txt *.gif text/*
+ dohtml -r html
+
+ #install nice, clean-looking gtk+ style
+ insinto /usr/share/themes/Gentoo/gtk
+ doins ${FILESDIR}/gtkrc
+}
+
+pkg_postinst() {
+
+ echo
+ echo "**********************************************************************"
+ echo "* Older versions added /etc/X11/gtk/gtkrc which changed settings for *"
+ echo "* all themes it seems. Please remove it manually as it will not due *"
+ echo "* to /env protection. *"
+ echo "* *"
+ echo "* NB: The old gtkrc is available through the new Gentoo gtk theme. *"
+ echo "**********************************************************************"
+ echo
+}