diff options
author | Caleb Tennis <caleb@gentoo.org> | 2007-03-12 12:31:24 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2007-03-12 12:31:24 +0000 |
commit | ed6f86e19a28e75b04348d7ce560eae4214a0386 (patch) | |
tree | 5404b4e44097bce2b2297ab8831ba4b49771751f /x11-libs/qwt | |
parent | remove old versions (diff) | |
download | gentoo-2-ed6f86e19a28e75b04348d7ce560eae4214a0386.tar.gz gentoo-2-ed6f86e19a28e75b04348d7ce560eae4214a0386.tar.bz2 gentoo-2-ed6f86e19a28e75b04348d7ce560eae4214a0386.zip |
Bump to 5.0.1
(Portage version: 2.1.2.1)
Diffstat (limited to 'x11-libs/qwt')
-rw-r--r-- | x11-libs/qwt/ChangeLog | 7 | ||||
-rw-r--r-- | x11-libs/qwt/files/digest-qwt-5.0.1 | 3 | ||||
-rw-r--r-- | x11-libs/qwt/qwt-5.0.1.ebuild | 55 |
3 files changed, 64 insertions, 1 deletions
diff --git a/x11-libs/qwt/ChangeLog b/x11-libs/qwt/ChangeLog index 726547affdf3..057c8c1fa691 100644 --- a/x11-libs/qwt/ChangeLog +++ b/x11-libs/qwt/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-libs/qwt # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/ChangeLog,v 1.38 2007/03/12 12:23:38 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/ChangeLog,v 1.39 2007/03/12 12:31:24 caleb Exp $ + +*qwt-5.0.1 (12 Mar 2007) + + 12 Mar 2007; Caleb Tennis <caleb@gentoo.org> +qwt-5.0.1.ebuild: + Bump to 5.0.1 12 Mar 2007; Caleb Tennis <caleb@gentoo.org> -files/qwt-20060130-buildfix.patch, -qwt-5_pre20060130.ebuild, diff --git a/x11-libs/qwt/files/digest-qwt-5.0.1 b/x11-libs/qwt/files/digest-qwt-5.0.1 new file mode 100644 index 000000000000..f545c4b94de3 --- /dev/null +++ b/x11-libs/qwt/files/digest-qwt-5.0.1 @@ -0,0 +1,3 @@ +MD5 8370c12af768144ff08e4e1ecb2aa7e2 qwt-5.0.1.tar.bz2 1662630 +RMD160 ef78c32058e6a1929908a9dc2f9277fbafb9c438 qwt-5.0.1.tar.bz2 1662630 +SHA256 6f373e2b840e7fdd062b510f49a6011c5d731f7d2bb0c7face32c780706d0801 qwt-5.0.1.tar.bz2 1662630 diff --git a/x11-libs/qwt/qwt-5.0.1.ebuild b/x11-libs/qwt/qwt-5.0.1.ebuild new file mode 100644 index 000000000000..b5bad151f74d --- /dev/null +++ b/x11-libs/qwt/qwt-5.0.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/qwt-5.0.1.ebuild,v 1.1 2007/03/12 12:31:24 caleb Exp $ + +inherit multilib eutils + +SRC_URI="mirror://sourceforge/qwt/${P}.tar.bz2" +HOMEPAGE="http://qwt.sourceforge.net/" +DESCRIPTION="2D plotting library for Qt4" +LICENSE="qwt" +KEYWORDS="~amd64 ~ppc64 ~x86" +SLOT="5" +IUSE="doc" + +QWTVER="5.0.1" + +DEPEND="=x11-libs/qt-4* + >=sys-apps/sed-4" + +src_unpack () { + unpack ${A} + + cd ${S} + find . -type f -name "*.pro" | while read file; do + sed -e 's/.*no-exceptions.*//g' -i ${file} + echo >> ${file} "QMAKE_CFLAGS_RELEASE += ${CFLAGS}" + echo >> ${file} "QMAKE_CXXFLAGS_RELEASE += ${CXXFLAGS}" + done + find examples -type f -name "*.pro" | while read file; do + echo >> ${file} "INCLUDEPATH += /usr/include/qwt" + done +} + +src_compile () { + /usr/bin/qmake qwt.pro + emake || die + + cd designer + /usr/bin/qmake qwtplugin.pro + emake || die +} + +src_install () { + ls -l lib + dolib lib/libqwt.so.${QWTVER} + dosym libqwt.so.${QWTVER} /usr/$(get_libdir)/libqwt.so + dosym libqwt.so.${QWTVER} /usr/$(get_libdir)/libqwt.so.${QWTVER/.*/} + use doc && (dodir /usr/share/doc/${PF} + cp -pPR examples ${D}/usr/share/doc/${PF}/ + dohtml doc/html/*) + mkdir -p ${D}/usr/include/qwt5/ + install include/* ${D}/usr/include/qwt5/ + insinto /usr/$(get_libdir)/qt4/plugins/designer + doins designer/plugins/designer/libqwt_designer_plugin.so +} |