summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2008-12-23 14:01:12 +0000
committerCaleb Tennis <caleb@gentoo.org>2008-12-23 14:01:12 +0000
commit478525b57d108365c6c17287b6f50d267f1d85e0 (patch)
tree8ac6722a597dd7d09adc58e2052ec29358bb0caa /x11-libs/qwt
parentFix package name (diff)
downloadgentoo-2-478525b57d108365c6c17287b6f50d267f1d85e0.tar.gz
gentoo-2-478525b57d108365c6c17287b6f50d267f1d85e0.tar.bz2
gentoo-2-478525b57d108365c6c17287b6f50d267f1d85e0.zip
Version bump
(Portage version: 2.2_rc17/cvs/Linux 2.6.21-gentoo-r1 i686)
Diffstat (limited to 'x11-libs/qwt')
-rw-r--r--x11-libs/qwt/ChangeLog7
-rw-r--r--x11-libs/qwt/qwt-5.1.1.ebuild47
2 files changed, 53 insertions, 1 deletions
diff --git a/x11-libs/qwt/ChangeLog b/x11-libs/qwt/ChangeLog
index af76dadf056a..ccf3d9983f85 100644
--- a/x11-libs/qwt/ChangeLog
+++ b/x11-libs/qwt/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-libs/qwt
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/ChangeLog,v 1.65 2008/07/30 15:20:26 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/ChangeLog,v 1.66 2008/12/23 14:01:12 caleb Exp $
+
+*qwt-5.1.1 (23 Dec 2008)
+
+ 23 Dec 2008; Caleb Tennis <caleb@gentoo.org> +qwt-5.1.1.ebuild:
+ Version bump
30 Jul 2008; Jeroen Roovers <jer@gentoo.org> qwt-5.0.2-r1.ebuild,
qwt-5.1.0.ebuild:
diff --git a/x11-libs/qwt/qwt-5.1.1.ebuild b/x11-libs/qwt/qwt-5.1.1.ebuild
new file mode 100644
index 000000000000..e564a7634d69
--- /dev/null
+++ b/x11-libs/qwt/qwt-5.1.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/qwt-5.1.1.ebuild,v 1.1 2008/12/23 14:01:12 caleb Exp $
+
+inherit multilib qt4
+
+EAPI=1
+
+SRC_URI="mirror://sourceforge/qwt/${P}.tar.bz2"
+HOMEPAGE="http://qwt.sourceforge.net/"
+DESCRIPTION="2D plotting library for Qt4"
+LICENSE="qwt"
+KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+SLOT="5"
+IUSE="doc svg"
+
+DEPEND="|| (
+ ( x11-libs/qt-gui:4
+ svg? ( x11-libs/qt-svg:4 ) )
+ =x11-libs/qt-4.3*:4 )"
+
+src_compile () {
+ # Configuration file
+ qwtconfig="${S}"/qwtconfig.pri
+
+ echo > ${qwtconfig} ""
+ echo >> ${qwtconfig} "target.path = /usr/$(get_libdir)"
+ echo >> ${qwtconfig} "headers.path = /usr/include/qwt5"
+ echo >> ${qwtconfig} "doc.path = /usr/share/doc/${PF}"
+ echo >> ${qwtconfig}
+ echo >> ${qwtconfig} "CONFIG += qt warn_on thread"
+ echo >> ${qwtconfig} "CONFIG += QwtDll QwtPlot QwtWidgets QwtDesigner"
+
+ use svg && echo >> ${qwtconfig} "CONFIG += QwtSVGItem"
+ use doc || echo >> src/src.pro "INSTALLS -= doc"
+
+ # Generates top-level Makefile
+ eqmake4
+
+ # -j1 due to parallel build failures ( bug # 170625 )
+ emake -j1 || die "emake failed"
+}
+
+src_install () {
+ emake INSTALL_ROOT="${D}" install || die "emake install failed"
+ dodoc CHANGES README
+}