blob: a0a1a09abad359c1f8a47c0afaed738310a5ce6a (
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
41
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/qtiplot/qtiplot-0.7.3.ebuild,v 1.2 2005/12/09 14:44:39 cryos Exp $
inherit eutils qt3
DESCRIPTION="Qt based clone of the Origin plotting package"
HOMEPAGE="http://soft.proindependent.com/qtiplot.html"
SRC_URI="http://soft.proindependent.com/src/${P}.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="$(qt_min_version 3.3)
>=x11-libs/qwt-4.2.0
>=x11-libs/qwtplot3d-0.2.6
>=sci-libs/gsl-1.6"
S=${WORKDIR}/${P}/${P}
src_unpack() {
unpack ${A}
cd ${S}
echo ${S}
epatch ${FILESDIR}/${P}-qmake.patch
# sed -e 's/INCLUDEPATH.*//' -i ${P}.pro
# echo "INCLUDEPATH += /usr/include/qwt" >> ${P}.pro
# echo "INCLUDEPATH += /usr/include/qwtplot3d" >> ${P}.pro
}
src_compile() {
${QTDIR}/bin/qmake ${P}.pro || die 'qmake failed.'
emake || die 'emake failed.'
}
src_install() {
make_desktop_entry qtiplot qtiplot qtiplot Graphics
dobin ../qtiplot || die 'Binary installation failed.'
}
|