diff options
author | Justin Lecher <jlec@gentoo.org> | 2011-03-05 11:42:42 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2011-03-05 11:42:42 +0000 |
commit | f7dbb4ed5b77de37ac96698e42c8c4d34ec3100f (patch) | |
tree | 8ef7fcf17dd4ea92c4a2cdbd8b9f190d09a57dd7 /x11-libs/qwt/qwt-5.2.1.ebuild | |
parent | Version Bump (diff) | |
download | gentoo-2-f7dbb4ed5b77de37ac96698e42c8c4d34ec3100f.tar.gz gentoo-2-f7dbb4ed5b77de37ac96698e42c8c4d34ec3100f.tar.bz2 gentoo-2-f7dbb4ed5b77de37ac96698e42c8c4d34ec3100f.zip |
Moved from qt4 -> qt4-r2 eclass
(Portage version: 2.2.0_alpha26/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/qwt/qwt-5.2.1.ebuild')
-rw-r--r-- | x11-libs/qwt/qwt-5.2.1.ebuild | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/x11-libs/qwt/qwt-5.2.1.ebuild b/x11-libs/qwt/qwt-5.2.1.ebuild index c00e1017bf5a..e0a4d1f11005 100644 --- a/x11-libs/qwt/qwt-5.2.1.ebuild +++ b/x11-libs/qwt/qwt-5.2.1.ebuild @@ -1,9 +1,10 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/qwt-5.2.1.ebuild,v 1.5 2011/03/05 11:34:43 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/qwt-5.2.1.ebuild,v 1.6 2011/03/05 11:42:42 jlec Exp $ EAPI="3" -inherit eutils qt4 + +inherit eutils qt4-r2 DESCRIPTION="2D plotting library for Qt4" HOMEPAGE="http://qwt.sourceforge.net/" @@ -20,6 +21,8 @@ DEPEND=" svg? ( x11-libs/qt-svg:4 )" RDEPEND="${DEPEND}" +DOCS="CHANGES README" + src_prepare() { cat > qwtconfig.pri <<-EOF target.path = "${EPREFIX}/usr/$(get_libdir)" @@ -40,14 +43,10 @@ src_prepare() { EOF sed -i -e 's:../qwtconfig:qwtconfig:' examples/examples.pro || die sed -i -e 's/headers doc/headers/' src/src.pro || die - qt4_src_prepare -} - -src_configure() { use svg && echo >> qwtconfig.pri "CONFIG += QwtSVGItem" cp qwtconfig.pri examples/qwtconfig.pri - eqmake4 } + src_compile() { # split compilation to allow parallel building emake sub-src || die "emake library failed" @@ -55,8 +54,7 @@ src_compile() { } src_install () { - emake INSTALL_ROOT="${D}" install || die "emake install failed" - dodoc CHANGES README + qt4-r2_src_install insinto /usr/share/doc/${PF} if use doc; then doman doc/man/*/* || die |