summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus D. Hanwell <cryos@gentoo.org>2005-10-14 01:42:30 +0000
committerMarcus D. Hanwell <cryos@gentoo.org>2005-10-14 01:42:30 +0000
commitc7a786855729400da5f9643906be505e85b393b0 (patch)
tree79fe5ca57d3f1d35a0f9d8bc2ece955771e18f9c /x11-libs
parentMark 1.081 stable on alpha (diff)
downloadgentoo-2-c7a786855729400da5f9643906be505e85b393b0.tar.gz
gentoo-2-c7a786855729400da5f9643906be505e85b393b0.tar.bz2
gentoo-2-c7a786855729400da5f9643906be505e85b393b0.zip
Fix symlinks on multilib systems.
(Portage version: 2.0.53_rc5)
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/qwt/ChangeLog7
-rw-r--r--x11-libs/qwt/Manifest6
-rw-r--r--x11-libs/qwt/files/digest-qwt-4.2.0-r11
-rw-r--r--x11-libs/qwt/qwt-4.2.0-r1.ebuild58
4 files changed, 69 insertions, 3 deletions
diff --git a/x11-libs/qwt/ChangeLog b/x11-libs/qwt/ChangeLog
index aaf70e46cfa4..0db568aa7d5f 100644
--- a/x11-libs/qwt/ChangeLog
+++ b/x11-libs/qwt/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-libs/qwt
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/ChangeLog,v 1.24 2005/08/24 16:51:06 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/ChangeLog,v 1.25 2005/10/14 01:42:30 cryos Exp $
+
+*qwt-4.2.0-r1 (14 Oct 2005)
+
+ 14 Oct 2005; Marcus D. Hanwell <cryos@gentoo.org> +qwt-4.2.0-r1.ebuild:
+ Fix symlinks on multilib systems.
24 Aug 2005; Patrick Kursawe <phosphan@gentoo.org> qwt-4.2.0.ebuild:
No longer using cp -a (bug #103487)
diff --git a/x11-libs/qwt/Manifest b/x11-libs/qwt/Manifest
index 42684cdddeb0..ce4f5bc0f4da 100644
--- a/x11-libs/qwt/Manifest
+++ b/x11-libs/qwt/Manifest
@@ -1,4 +1,6 @@
-MD5 d3c608370a711cda1c08bce558c47ee6 qwt-4.2.0.ebuild 1486
MD5 b2363c3bbaf262e0e1bf75c44414e329 ChangeLog 3847
-MD5 c000c0728c9136f1b54cbc3a5fc07644 metadata.xml 220
MD5 73ff067302f4cd37fba77ed8baeda94b files/digest-qwt-4.2.0 62
+MD5 73ff067302f4cd37fba77ed8baeda94b files/digest-qwt-4.2.0-r1 62
+MD5 c000c0728c9136f1b54cbc3a5fc07644 metadata.xml 220
+MD5 6966b8fa7ee7ad04429f303f9c637178 qwt-4.2.0-r1.ebuild 1524
+MD5 d3c608370a711cda1c08bce558c47ee6 qwt-4.2.0.ebuild 1486
diff --git a/x11-libs/qwt/files/digest-qwt-4.2.0-r1 b/x11-libs/qwt/files/digest-qwt-4.2.0-r1
new file mode 100644
index 000000000000..eb0d4a1a3c78
--- /dev/null
+++ b/x11-libs/qwt/files/digest-qwt-4.2.0-r1
@@ -0,0 +1 @@
+MD5 9c828c9a39a83df5d7fa9630ddf812a4 qwt-4.2.0.tar.bz2 973643
diff --git a/x11-libs/qwt/qwt-4.2.0-r1.ebuild b/x11-libs/qwt/qwt-4.2.0-r1.ebuild
new file mode 100644
index 000000000000..9a860350f668
--- /dev/null
+++ b/x11-libs/qwt/qwt-4.2.0-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2005 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-r1.ebuild,v 1.1 2005/10/14 01:42:30 cryos Exp $
+
+inherit multilib
+
+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="~amd64 ~ppc ~x86"
+SLOT="0"
+IUSE="doc"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+QWTVER="4.2.0"
+
+DEPEND="=x11-libs/qt-3*
+ >=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 () {
+ addwrite ${QTDIR}/etc/settings
+ ${QTDIR}/bin/qmake qwt.pro
+ emake || die
+ cd designer
+ ${QTDIR}/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/qwt/
+ install include/* ${D}/usr/include/qwt/
+ insinto ${QTDIR}/plugins/designer
+ doins designer/plugins/designer/libqwtplugin.so
+}