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
commitbc7f73ed08f9e8062748fff42abac020293f22c4 (patch)
tree23c63611c3917d213e47590889387b1008978107 /x11-libs
parentMark 1.081 stable on alpha (diff)
downloadhistorical-bc7f73ed08f9e8062748fff42abac020293f22c4.tar.gz
historical-bc7f73ed08f9e8062748fff42abac020293f22c4.tar.bz2
historical-bc7f73ed08f9e8062748fff42abac020293f22c4.zip
Fix symlinks on multilib systems.
Package-Manager: portage-2.0.53_rc5
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/qwt/ChangeLog7
-rw-r--r--x11-libs/qwt/Manifest18
-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, 80 insertions, 4 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..241af32b281a 100644
--- a/x11-libs/qwt/Manifest
+++ b/x11-libs/qwt/Manifest
@@ -1,4 +1,16 @@
-MD5 d3c608370a711cda1c08bce558c47ee6 qwt-4.2.0.ebuild 1486
-MD5 b2363c3bbaf262e0e1bf75c44414e329 ChangeLog 3847
-MD5 c000c0728c9136f1b54cbc3a5fc07644 metadata.xml 220
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 137b20a841965f09bab79e09c7ad759b ChangeLog 3984
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 8db867be6245f92c1eee15090ac5bb88 qwt-4.2.0-r1.ebuild 1526
+MD5 d3c608370a711cda1c08bce558c47ee6 qwt-4.2.0.ebuild 1486
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1 (GNU/Linux)
+
+iD8DBQFDTw0VntT9W3vfTuoRAuNdAJ9WNh124C05i1MUzj6/KPKvFViLVgCgl699
+D4SVhXCqrT3YEMJ4VSWZ36Y=
+=xOvZ
+-----END PGP SIGNATURE-----
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
+}