diff options
author | Caleb Tennis <caleb@gentoo.org> | 2007-08-23 18:50:37 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2007-08-23 18:50:37 +0000 |
commit | 317d06747dbbfb43062b5440191376a615ba6557 (patch) | |
tree | b968af37d802116ab7bd24cd2d5e4743427669c0 /x11-libs/qwt-qt3 | |
parent | removed old versions (diff) | |
download | gentoo-2-317d06747dbbfb43062b5440191376a615ba6557.tar.gz gentoo-2-317d06747dbbfb43062b5440191376a615ba6557.tar.bz2 gentoo-2-317d06747dbbfb43062b5440191376a615ba6557.zip |
revision bump, thanks to bug #189944
(Portage version: 2.1.3.6)
Diffstat (limited to 'x11-libs/qwt-qt3')
-rw-r--r-- | x11-libs/qwt-qt3/ChangeLog | 7 | ||||
-rw-r--r-- | x11-libs/qwt-qt3/files/digest-qwt-qt3-5.0.2-r1 | 3 | ||||
-rw-r--r-- | x11-libs/qwt-qt3/qwt-qt3-5.0.2-r1.ebuild | 56 |
3 files changed, 65 insertions, 1 deletions
diff --git a/x11-libs/qwt-qt3/ChangeLog b/x11-libs/qwt-qt3/ChangeLog index 0e174958e4f7..ee3eb48b5858 100644 --- a/x11-libs/qwt-qt3/ChangeLog +++ b/x11-libs/qwt-qt3/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-libs/qwt-qt3 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt-qt3/ChangeLog,v 1.2 2007/08/09 12:01:39 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt-qt3/ChangeLog,v 1.3 2007/08/23 18:50:37 caleb Exp $ + +*qwt-qt3-5.0.2-r1 (23 Aug 2007) + + 23 Aug 2007; Caleb Tennis <caleb@gentoo.org> +qwt-qt3-5.0.2-r1.ebuild: + revision bump, thanks to bug #189944 09 Aug 2007; Caleb Tennis <caleb@gentoo.org> qwt-qt3-5.0.2.ebuild: Use qt3 eclass per bug #185984 diff --git a/x11-libs/qwt-qt3/files/digest-qwt-qt3-5.0.2-r1 b/x11-libs/qwt-qt3/files/digest-qwt-qt3-5.0.2-r1 new file mode 100644 index 000000000000..69d00e719e93 --- /dev/null +++ b/x11-libs/qwt-qt3/files/digest-qwt-qt3-5.0.2-r1 @@ -0,0 +1,3 @@ +MD5 53adbb313c478dd4aae4f1c864a2037e qwt-5.0.2.tar.bz2 1666468 +RMD160 1a80bb31eaa0d1488594507acb022ca268dcc2ce qwt-5.0.2.tar.bz2 1666468 +SHA256 1e09af748c42f70771334db7bad04c3e39cf0f80fe4da993345c366575b2408d qwt-5.0.2.tar.bz2 1666468 diff --git a/x11-libs/qwt-qt3/qwt-qt3-5.0.2-r1.ebuild b/x11-libs/qwt-qt3/qwt-qt3-5.0.2-r1.ebuild new file mode 100644 index 000000000000..c47bf65796ce --- /dev/null +++ b/x11-libs/qwt-qt3/qwt-qt3-5.0.2-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt-qt3/qwt-qt3-5.0.2-r1.ebuild,v 1.1 2007/08/23 18:50:37 caleb Exp $ + +inherit multilib qt3 + +MY_P="${P/-qt3/}" + +SRC_URI="mirror://sourceforge/qwt/${MY_P}.tar.bz2" +HOMEPAGE="http://qwt.sourceforge.net/" +DESCRIPTION="2D plotting library for Qt3" +LICENSE="qwt" +KEYWORDS="~amd64 ~x86" +SLOT="5" +IUSE="doc" + +S="${WORKDIR}/${MY_P}" + +DEPEND="$(qt_min_version 3)" + +src_compile () { + sed -i -e "s:TARGET .* = qwt:TARGET = qwt-qt3:" src/src.pro \ + || die "sed src.pro failed" + sed -i -e "s:-lqwt:-lqwt-qt3:" designer/designer.pro \ + || die "sed designer.pro failed" + + # Configuration file + qwtconfig="${S}/qwtconfig.pri" + + echo > ${qwtconfig} "" + echo >> ${qwtconfig} "target.path = /usr/$(get_libdir)" + echo >> ${qwtconfig} "headers.path = /usr/include/qwt-qt3" + 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 doc || echo >> src/src.pro "INSTALLS -= doc" + + # Generates top-level Makefile + eqmake3 qwt.pro + + # -j1 due to parallel build failures ( bug # 170625 ) + emake -j1 || die "emake failed" +} + +src_install () { + emake INSTALL_ROOT="${D}" install || die "emake install failed" + +# Can't remember right now why this was here. Commenting out until we either remove it +# or remember why it was put into place. caleb@gentoo.org - 08.22.07 + +# rm "${D}"/usr/$(get_libdir)/libqwt-qt3.so + + dodoc CHANGES README +} |