summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2005-12-23 19:38:10 +0000
committerCarsten Lohrke <carlo@gentoo.org>2005-12-23 19:38:10 +0000
commit92b7a18ddeaa7b1494b772c9c4004bf685eda217 (patch)
tree385dfadd5d46a0b299bcef570db09b39d8a147f0 /x11-libs/qwtplot3d
parentMarked ppc stable, #115468 (diff)
downloadhistorical-92b7a18ddeaa7b1494b772c9c4004bf685eda217.tar.gz
historical-92b7a18ddeaa7b1494b772c9c4004bf685eda217.tar.bz2
historical-92b7a18ddeaa7b1494b772c9c4004bf685eda217.zip
install docs, restore lib symlinks
Package-Manager: portage-2.0.53
Diffstat (limited to 'x11-libs/qwtplot3d')
-rw-r--r--x11-libs/qwtplot3d/ChangeLog7
-rw-r--r--x11-libs/qwtplot3d/Manifest14
-rw-r--r--x11-libs/qwtplot3d/files/digest-qwtplot3d-0.2.6-r22
-rw-r--r--x11-libs/qwtplot3d/qwtplot3d-0.2.6-r2.ebuild60
4 files changed, 71 insertions, 12 deletions
diff --git a/x11-libs/qwtplot3d/ChangeLog b/x11-libs/qwtplot3d/ChangeLog
index b1b8049f3a08..68df786a2725 100644
--- a/x11-libs/qwtplot3d/ChangeLog
+++ b/x11-libs/qwtplot3d/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-libs/qwtplot3d
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwtplot3d/ChangeLog,v 1.3 2005/12/09 14:42:56 cryos Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwtplot3d/ChangeLog,v 1.4 2005/12/23 19:38:10 carlo Exp $
+
+*qwtplot3d-0.2.6-r2 (23 Dec 2005)
+
+ 23 Dec 2005; Carsten Lohrke <carlo@gentoo.org> +qwtplot3d-0.2.6-r2.ebuild:
+ install docs, restore lib symlinks
09 Dec 2005; Marcus D. Hanwell <cryos@gentoo.org>
qwtplot3d-0.2.6-r1.ebuild:
diff --git a/x11-libs/qwtplot3d/Manifest b/x11-libs/qwtplot3d/Manifest
index 9a3590767d87..afe25766d409 100644
--- a/x11-libs/qwtplot3d/Manifest
+++ b/x11-libs/qwtplot3d/Manifest
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 bfca345d8baac628ecc3e0ff24fe07bf ChangeLog 736
+MD5 6830db509f8e89134cc18bc54624cbb1 ChangeLog 886
MD5 cf9aaa8e69c2706b69104c537365485c files/digest-qwtplot3d-0.2.6-r1 64
+MD5 290c6e0f0680b16ea16f5e27cbb89980 files/digest-qwtplot3d-0.2.6-r2 126
MD5 215d34fcda8923ada4f99f2fbcd3a983 metadata.xml 401
MD5 78ef49702234e7449e57b6295acf4976 qwtplot3d-0.2.6-r1.ebuild 1639
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDmZf7ntT9W3vfTuoRAoHcAJ93SgVccxX4g173ShynWkdHvLcwAwCfd9GP
-G8RTKK/TPIJhOsF3WsYWO3c=
-=tXqJ
------END PGP SIGNATURE-----
+MD5 5677eabf8b606709c70a2e943917d617 qwtplot3d-0.2.6-r2.ebuild 1866
diff --git a/x11-libs/qwtplot3d/files/digest-qwtplot3d-0.2.6-r2 b/x11-libs/qwtplot3d/files/digest-qwtplot3d-0.2.6-r2
new file mode 100644
index 000000000000..8176e943e9bc
--- /dev/null
+++ b/x11-libs/qwtplot3d/files/digest-qwtplot3d-0.2.6-r2
@@ -0,0 +1,2 @@
+MD5 7ef960d7874f78162d6c9d241de2843e qwtplot3d-0.2.6.tgz 148834
+MD5 59791c8bbfc6e2e9dbc4159f7016dde5 qwtplot3d-doc.zip 776909
diff --git a/x11-libs/qwtplot3d/qwtplot3d-0.2.6-r2.ebuild b/x11-libs/qwtplot3d/qwtplot3d-0.2.6-r2.ebuild
new file mode 100644
index 000000000000..ecf1917a216b
--- /dev/null
+++ b/x11-libs/qwtplot3d/qwtplot3d-0.2.6-r2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwtplot3d/qwtplot3d-0.2.6-r2.ebuild,v 1.1 2005/12/23 19:38:10 carlo Exp $
+
+inherit multilib qt3
+
+MY_P=${P/_/-}
+S=${WORKDIR}/${PN}
+
+DESCRIPTION="opengl and qt-based 3D widget library for C++"
+HOMEPAGE="http://qwtplot3d.sourceforge.net/"
+SRC_URI="mirror://sourceforge/qwtplot3d/${MY_P}.tgz
+ doc? ( http://qwtplot3d.sourceforge.net/qwtplot3d-doc.zip )"
+
+LICENSE="ZLIB"
+SLOT="0"
+IUSE="doc examples"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="$(qt_min_version 3.3)
+ >=sys-apps/sed-4
+ doc? ( app-arch/unzip )"
+RDEPEND="$(qt_min_version 3.3)"
+
+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 += ${ROOT}usr/include/qwtplot3d"
+ done
+}
+
+src_compile () {
+ addwrite ${QTDIR}/etc/settings
+ ${QTDIR}/bin/qmake qwtplot3d.pro || die "qmake failed."
+ emake || die "emake failed."
+}
+
+src_install () {
+ dolib lib/libqwtplot3d.so.${PV} || die "dolib failed."
+ # do NOT remove these symlinks, other packages depend on it
+ dosym libqwtplot3d.so.${PV} /usr/$(get_libdir)/libqwtplot3d.so
+ dosym libqwtplot3d.so.${PV} /usr/$(get_libdir)/libqwtplot3d.so.${PV/.*/}
+ chmod -R 644 examples
+ chmod 755 examples examples/simpleplot/ examples/mesh2/ \
+ examples/enrichments/ examples/axes/ examples/autoswitch/ \
+ examples/axes/src/
+ mkdir -p ${D}/usr/include/qwtplot3d/
+ install include/* ${D}/usr/include/qwtplot3d/
+ if use examples; then
+ dodir /usr/share/doc/${PF}
+ cp -pPR examples ${D}/usr/share/doc/${PF}/
+ fi
+ use doc && dohtml -r doc/web/doxygen/*
+}