blob: 86f6e14979fdb39c2207e7eef763e8ecc46a46d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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_rc0.ebuild,v 1.1 2003/10/29 07:43:37 phosphan Exp $
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="~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
}
|