blob: 49f0756f7d9ada69a5fae0749ba7e4245a975d5a (
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
|
# 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.4.ebuild,v 1.2 2002/09/18 13:27:53 cybersystem Exp $
S=${WORKDIR}/${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/${PN}-x11-gpl-${PV}.tar.gz"
HOMEPAGE="http://www.riverbankcomputing.co.uk/sip/"
SLOT="0"
LICENSE="MIT"
KEYWORDS="x86 ppc sparc sparc64"
DEPEND="virtual/glibc
>=dev-lang/python-2.2.1"
src_compile(){
cd ${S}
chmod +x build.py
mkdir -p ${D}/usr/bin
mkdir -p ${D}/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
}
src_install() {
mkdir -p ${D}/usr/include/python2.2
make DESTDIR=${D} install || die
dodoc NEWS README THANKS
}
|