summaryrefslogtreecommitdiff
blob: cc0b910fc1cd17cca75891e2f4dcd20260418132 (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
# 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-0.4.1-r1.ebuild,v 1.2 2003/03/28 14:23:35 phosphan Exp $

SRC_URI="mirror://sourceforge/qwt/qwt-${PV}.tar.bz2"
HOMEPAGE="http://qwt.sourceforge.net/"
DESCRIPTION="2D plotting library for Qt"
LICENSE="LGPL-2.1"
KEYWORDS="x86" 
SLOT="0"
IUSE="doc"

DEPEND=">=x11-libs/qt-3.0.0"

src_compile () {
	qmake qwt.pro
	emake || die
}

src_install () {
	dolib lib/libqwt.so.${PV}
	dosym libqwt.so.${PV} /usr/lib/libqwt.so
	use doc && (dohtml doc/html/*; cp -a examples ${D}/usr/share/doc/${PF}/;\
				find ${D}/usr/share/doc/ -type f -exec gzip {} \; )				 
	doman doc/man/man*/*
	mkdir -p ${D}/usr/include/qwt/
	install include/* ${D}/usr/include/qwt/
}