diff options
author | Carsten Lohrke <carlo@gentoo.org> | 2004-07-06 14:51:25 +0000 |
---|---|---|
committer | Carsten Lohrke <carlo@gentoo.org> | 2004-07-06 14:51:25 +0000 |
commit | fa9a1244b3044f2bfe2cbef93685d7b7f024c4ea (patch) | |
tree | bc1a42f5fd57b3538879a3d33fd4243c15d8982c /dev-python/sip/sip-4.0.1.ebuild | |
parent | Changing to LD_LIBRARY_PATH (Manifest recommit) (diff) | |
download | gentoo-2-fa9a1244b3044f2bfe2cbef93685d7b7f024c4ea.tar.gz gentoo-2-fa9a1244b3044f2bfe2cbef93685d7b7f024c4ea.tar.bz2 gentoo-2-fa9a1244b3044f2bfe2cbef93685d7b7f024c4ea.zip |
version bump
Diffstat (limited to 'dev-python/sip/sip-4.0.1.ebuild')
-rw-r--r-- | dev-python/sip/sip-4.0.1.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/sip/sip-4.0.1.ebuild b/dev-python/sip/sip-4.0.1.ebuild new file mode 100644 index 000000000000..e9ef16301f29 --- /dev/null +++ b/dev-python/sip/sip-4.0.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.0.1.ebuild,v 1.1 2004/07/06 14:51:25 carlo Exp $ + +inherit 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." +HOMEPAGE="http://www.riverbankcomputing.co.uk/sip/" +SRC_URI="mirror://gentoo/${MY_P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64" +IUSE="doc" + +DEPEND="virtual/libc + x11-libs/qt + >=dev-lang/python-2.3" + +src_compile(){ + distutils_python_version + python configure.py -l qt-mt \ + -b /usr/bin \ + -d /usr/lib/python${PYVER}/site-packages \ + -e /usr/include/python${PYVER} \ + "CXXFLAGS+=${CXXFLAGS}" + emake || die +} + +src_install() { + einstall DESTDIR=${D} || die + dodoc ChangeLog LICENSE NEWS README THANKS TODO + if use doc ; then dohtml doc/* ; fi +} + +pkg_postinst() { + einfo "Please note, that you have to emerge PyQt again, when upgrading from sip-3.x." +} |