diff options
author | Caleb Tennis <caleb@gentoo.org> | 2003-12-08 21:22:30 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2003-12-08 21:22:30 +0000 |
commit | a0e7411ba8265c3267ef5bf9f745bef264738356 (patch) | |
tree | aff7206e96d67eea6135a0c0152416f54be54feb /dev-python/sip/sip-4.0_rc1.ebuild | |
parent | new versions (diff) | |
download | gentoo-2-a0e7411ba8265c3267ef5bf9f745bef264738356.tar.gz gentoo-2-a0e7411ba8265c3267ef5bf9f745bef264738356.tar.bz2 gentoo-2-a0e7411ba8265c3267ef5bf9f745bef264738356.zip |
new versions
Diffstat (limited to 'dev-python/sip/sip-4.0_rc1.ebuild')
-rw-r--r-- | dev-python/sip/sip-4.0_rc1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/sip/sip-4.0_rc1.ebuild b/dev-python/sip/sip-4.0_rc1.ebuild new file mode 100644 index 000000000000..dd450326ac58 --- /dev/null +++ b/dev-python/sip/sip-4.0_rc1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.0_rc1.ebuild,v 1.1 2003/12/08 21:22:26 caleb Exp $ + +IUSE="" + +inherit eutils distutils + +MY_P=${P/_/} +S=${WORKDIR}/${MY_P} + +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-2" +KEYWORDS="~x86 ~ppc ~sparc ~alpha" +RESTRICT="nomirror" + +DEPEND="virtual/glibc + x11-libs/qt + >=dev-lang/python-2.3" + +src_compile(){ + distutils_python_version + dodir /usr/bin + dodir /usr/lib/python${PYVER}/site-packages + python configure.py -l qt-mt \ + -b ${D}usr/bin \ + -d ${D}usr/lib/python${PYVER}/site-packages \ + -e ${D}usr/include/python${PYVER} \ + "CXXFLAGS+=${CXXFLAGS}" + make || die +} + +src_install() { + distutils_python_version + dodir /usr/include/python${PYVER} + make install || die + dodoc ChangeLog LICENS NEWS README THANKS TODO +} |