summaryrefslogtreecommitdiff
blob: 606a460050664ffdde3c0f3f940b6ec805cadd7e (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
32
33
34
35
36
37
38
39
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Bart Verwilst <verwilst@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt/PyQt-3.0.ebuild,v 1.1 2001/12/04 18:17:22 verwilst Exp $

S="${WORKDIR}/PyQt-3.0"
DESCRIPTION="PyQt is a set of Python bindings for the Qt Toolkit( VERSION 3.x ONLY!!."
SRC_URI="http://www.river-bank.demon.co.uk/software/PyQt-3.0-Qt-3.0.0.tar.gz
	 http://www.river-bank.demon.co.uk/software/PyQt-3.0-Qt-3.0.0-patch.1"
HOMEPAGE="http://www.thekompany.com/projects/pykde/"

DEPEND="virtual/glibc
	>=x11-libs/qt-x11-3
        =dev-python/sip-3.0
        >=dev-lang/python-2.0"

src_unpack() {

	unpack PyQt-3.0-Qt-3.0.0.tar.gz
	cd ${WORKDIR}
	patch -p0 < ${DISTDIR}/PyQt-3.0-Qt-3.0.0-patch.1 
	cd ${S}
	
}

src_compile() {
	./configure --prefix=/usr					\
		    --infodir=/usr/share/info				\
		    --mandir=/usr/share/man				\
		    --with-doc-install=/usr/share/doc
	assert

	make || die
}

src_install() {
	make DESTDIR=${D} install || die
	make DESTDIR=${D} install-doc || die
}