blob: bbf39ba4ba1cc657aa6b9e5e7cf1d8d0eed94d72 (
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
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pykde/pykde-3.5.2.ebuild,v 1.6 2003/06/22 12:15:59 liquidx Exp $
inherit eutils
MAJ_PV=${PV%.[0-9]*}
MIN_PV=${PV##*[0-9].}
MY_PN="PyKDE"
MY_P=${MY_PN}-${MAJ_PV}-${MIN_PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="set of Python bindings for the KDE libs"
SRC_URI="http://www.river-bank.demon.co.uk/download/PyKDE2/${MY_P}.tar.gz"
HOMEPAGE="http://www.riverbankcomputing.co.uk/pykde/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"
DEPEND="virtual/glibc
sys-devel/libtool
>=dev-lang/python-2.2.1
=dev-python/sip-3.5
=dev-python/PyQt-3.5-r1
kde-base/kdelibs"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-sandbox-patch.diff
}
src_compile() {
dodir /usr/lib/python2.2/site-packages
dodir /usr/include/python2.2
python build.py \
-d ${D}/usr/lib/python2.2/site-packages \
-s /usr/lib/python2.2/site-packages \
-u ${KDEDIR}/lib \
-c -l qt-mt -v /usr/share/sip/qt || die
make || die
}
src_install() {
make DESTDIR=${D} install || die
dodoc ChangeLog AUTHORS THANKS README
dodir /usr/share/doc/${PF}/
mv ${D}/usr/share/doc/* ${D}/usr/share/doc/${PF}/
}
|