summaryrefslogtreecommitdiff
blob: 796d250f204e50f73e404233d21cca80b9867856 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-0.6.9.ebuild,v 1.13 2003/08/07 02:41:58 vapier Exp $

DESCRIPTION="GTK+ bindings for Python"
HOMEPAGE="http://www.daa.com.au/~james/pygtk/"
SRC_URI="ftp://ftp.gtk.org/pub/gtk/python/${P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="1.2"
KEYWORDS="x86 ppc sparc alpha"

DEPEND="virtual/python
        >=gnome-base/libglade-0.17-r6
	>=media-libs/imlib-1.8
	>=media-libs/gdk-pixbuf-0.9.0
        ( >=x11-libs/gtk+-1.2.10
	<x11-libs/gtk+-2.0.0 )"

src_compile() {
	./configure --infodir=/usr/share/info \
		--mandir=/usr/share/man \
		--prefix=/usr \
		--with-libglade-config=/usr/bin/libglade-config \
		--host=${CHOST} || die
	emake || die
}

src_install() {
	make prefix=${D}/usr install || die
}