blob: 6cea2d8b54cf0d52dfcf61d40a3a89c8b03fef57 (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-3.5.ebuild,v 1.1 2002/12/14 00:06:55 verwilst Exp $
MY_P="${PN}-x11-gpl-${PV}"
DESCRIPTION="SIP is a tool for generating bindings for C++ classes so that they can be used by Python."
SRC_URI="http://www.river-bank.demon.co.uk/download/sip/${MY_P}.tar.gz"
HOMEPAGE="http://www.riverbankcomputing.co.uk/sip/"
SLOT="0"
LICENSE="GPL"
KEYWORDS="x86 ppc sparc alpha"
DEPEND="virtual/glibc
>=dev-lang/python-2.2.1"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${MY_P}.tar.gz
cd ${S}
patch -p0 < ${FILESDIR}/license-3.5.diff
}
src_compile(){
chmod +x build.py
dodir /usr/bin
dodir /usr/lib/python2.2/site-packages
python build.py -l qt-mt -b ${D}/usr/bin -d ${D}/usr/lib/python2.2/site-packages \
-e ${D}/usr/include/python2.2
make || die
}
src_install() {
dodir /usr/include/python2.2
make DESTDIR=${D} install || die
dodoc NEWS README THANKS
}
|