# 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 }