diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2003-12-02 15:18:14 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2003-12-02 15:18:14 +0000 |
commit | 38611ed17b58a41ff61cd296d5b5d1e48454c34b (patch) | |
tree | 2b2983972369b7d069802fbe0dcf0537ab2e02cc /x11-libs/qwt/qwt-4.2.0_rc1.ebuild | |
parent | Version bump. (diff) | |
download | gentoo-2-38611ed17b58a41ff61cd296d5b5d1e48454c34b.tar.gz gentoo-2-38611ed17b58a41ff61cd296d5b5d1e48454c34b.tar.bz2 gentoo-2-38611ed17b58a41ff61cd296d5b5d1e48454c34b.zip |
Version bump.
Diffstat (limited to 'x11-libs/qwt/qwt-4.2.0_rc1.ebuild')
-rw-r--r-- | x11-libs/qwt/qwt-4.2.0_rc1.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/x11-libs/qwt/qwt-4.2.0_rc1.ebuild b/x11-libs/qwt/qwt-4.2.0_rc1.ebuild new file mode 100644 index 000000000000..eb86ec2ca136 --- /dev/null +++ b/x11-libs/qwt/qwt-4.2.0_rc1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/qwt-4.2.0_rc1.ebuild,v 1.1 2003/12/02 15:18:08 phosphan Exp $ + +MY_PV="${PV/_r/r}" + +SRC_URI="mirror://sourceforge/qwt/${PN}-${MY_PV}.tgz" +HOMEPAGE="http://qwt.sourceforge.net/" +DESCRIPTION="2D plotting library for Qt" +LICENSE="qwt" +KEYWORDS="~x86" +SLOT="0" +IUSE="doc" + +S="${WORKDIR}/${PN}-${MY_PV}" +QWTVER="4.2.0" + +DEPEND=">=x11-libs/qt-3.0.0" + +src_compile () { + 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 + + use doc && (dodir /usr/share/doc/${PF} + cp -a examples ${D}/usr/share/doc/${PF}/ + find ${D}/usr/share/doc/ -type f -exec gzip {} \; + 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 +} |