diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2004-10-21 06:41:49 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2004-10-21 06:41:49 +0000 |
commit | d69baef134f2ecc6caa2962ec56e6a0df45e2a14 (patch) | |
tree | 26b42101edd799875b3f4bc5a6cb94cc8f595542 /x11-libs/qwt | |
parent | ensure that old portage will emerge, too (Manifest recommit) (diff) | |
download | gentoo-2-d69baef134f2ecc6caa2962ec56e6a0df45e2a14.tar.gz gentoo-2-d69baef134f2ecc6caa2962ec56e6a0df45e2a14.tar.bz2 gentoo-2-d69baef134f2ecc6caa2962ec56e6a0df45e2a14.zip |
Fixing include path for the examples, no longer zipping them.
Diffstat (limited to 'x11-libs/qwt')
-rw-r--r-- | x11-libs/qwt/ChangeLog | 7 | ||||
-rw-r--r-- | x11-libs/qwt/Manifest | 2 | ||||
-rw-r--r-- | x11-libs/qwt/files/digest-qwt-4.2.0_rc2-r2 | 1 | ||||
-rw-r--r-- | x11-libs/qwt/qwt-4.2.0_rc2-r2.ebuild | 58 |
4 files changed, 67 insertions, 1 deletions
diff --git a/x11-libs/qwt/ChangeLog b/x11-libs/qwt/ChangeLog index b7b6dc583451..a2100ebea211 100644 --- a/x11-libs/qwt/ChangeLog +++ b/x11-libs/qwt/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-libs/qwt # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/ChangeLog,v 1.15 2004/10/20 06:21:18 phosphan Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/ChangeLog,v 1.16 2004/10/21 06:41:49 phosphan Exp $ + +*qwt-4.2.0_rc2-r2 (21 Oct 2004) + + 21 Oct 2004; Patrick Kursawe <phosphan@gentoo.org> +qwt-4.2.0_rc2-r2.ebuild: + Fixing include path for the examples, no longer zipping them. *qwt-4.2.0_rc2-r1 (20 Oct 2004) diff --git a/x11-libs/qwt/Manifest b/x11-libs/qwt/Manifest index 767349394f55..7ae95746a5ab 100644 --- a/x11-libs/qwt/Manifest +++ b/x11-libs/qwt/Manifest @@ -1,7 +1,9 @@ MD5 8f039ad48e38ea78d35ce82dfa27e215 qwt-4.2.0_rc1-r1.ebuild 1388 +MD5 35b41e397a7112eca423cae5b31ee266 qwt-4.2.0_rc2-r2.ebuild 1516 MD5 105f73385c48441b5000aa3e70d4cab2 qwt-4.2.0_rc2-r1.ebuild 1453 MD5 6fa7dc8bf17eda8d069f08a904ff20de ChangeLog 2449 MD5 c000c0728c9136f1b54cbc3a5fc07644 metadata.xml 220 MD5 3ea50eb9442866602e232a81463fd832 files/4.2.0_rc2-plugin.patch 1972 MD5 6647fba0e68e22e0d87760f7c421c1f9 files/digest-qwt-4.2.0_rc1-r1 61 MD5 c4ad377ac25dbcecd026f3b0727110ad files/digest-qwt-4.2.0_rc2-r1 65 +MD5 c4ad377ac25dbcecd026f3b0727110ad files/digest-qwt-4.2.0_rc2-r2 65 diff --git a/x11-libs/qwt/files/digest-qwt-4.2.0_rc2-r2 b/x11-libs/qwt/files/digest-qwt-4.2.0_rc2-r2 new file mode 100644 index 000000000000..29438082c71f --- /dev/null +++ b/x11-libs/qwt/files/digest-qwt-4.2.0_rc2-r2 @@ -0,0 +1 @@ +MD5 d5a96e1c6d3bb9eb8fd3589e9126a645 qwt-4.2.0rc2.tar.bz2 963009 diff --git a/x11-libs/qwt/qwt-4.2.0_rc2-r2.ebuild b/x11-libs/qwt/qwt-4.2.0_rc2-r2.ebuild new file mode 100644 index 000000000000..7cc179701f5a --- /dev/null +++ b/x11-libs/qwt/qwt-4.2.0_rc2-r2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/qwt-4.2.0_rc2-r2.ebuild,v 1.1 2004/10/21 06:41:49 phosphan Exp $ + +inherit eutils + +MY_PV="${PV/_r/r}" + +SRC_URI="mirror://sourceforge/qwt/${PN}-${MY_PV}.tar.bz2" +HOMEPAGE="http://qwt.sourceforge.net/" +DESCRIPTION="2D plotting library for Qt" +LICENSE="qwt" +KEYWORDS="~x86 ~amd64 ~ppc" +SLOT="0" +IUSE="doc" + +S="${WORKDIR}/${PN}-${MY_PV}" +QWTVER="4.2.0" + +DEPEND=">=x11-libs/qt-3.0.0 + >=sys-apps/sed-4" + + +src_unpack () { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}-plugin.patch + 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 () { + addwrite ${QTDIR}/etc/settings + qmake qwt.pro + emake || die + cd designer + qmake qwtplugin.pro + emake || die +} + +src_install () { + dolib lib/libqwt.so.${QWTVER} + dosym libqwt.so.${QWTVER} /usr/lib/libqwt.so + dosym libqwt.so.${QWTVER} /usr/lib/libqwt.so.${QWTVER/.\*/} + use doc && (dodir /usr/share/doc/${PF} + cp -a examples ${D}/usr/share/doc/${PF}/ + dohtml doc/html/*) + mkdir -p ${D}/usr/include/qwt/ + install include/* ${D}/usr/include/qwt/ + insinto ${QTDIR}/plugins/designer + doins designer/plugins/designer/libqwtplugin.so +} |