aboutsummaryrefslogtreecommitdiff
blob: 4ad24962debb9bf9a4cd9993c5a471eed5a343f3 (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
42
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

inherit eutils qt4

MY_PN="QTeXEngine"

DESCRIPTION="Enables Qt based applications to easily export graphics to TeX"
HOMEPAGE="http://soft.proindependent.com/${PN}"
SRC_URI="mirror://berlios/qtiplot/${MY_PN}-${PV}-opensource.zip"

SLOT="0"
KEYWORDS="~amd64 ~x86"
LICENSE="GPL-3"
IUSE=""

RDEPEND="x11-libs/qt-gui"
DEPEND="${RDEPEND}
	app-arch/unzip"

S="${WORKDIR}"/${MY_PN}

PATCHES=(
	"${FILESDIR}/${PV}-interpolate.patch"
	"${FILESDIR}/${PV}-dynlib.patch"
	)

src_compile() {
	eqmake4 QTeXEngine.pro
	emake sub-src-all || die
}

src_install() {
	dolib.so lib${MY_PN}.so* || die
	insinto /usr/include
	doins src/${MY_PN}.h || die
	dodoc CHANGES.txt || die
	dohtml -r ./doc/html/* || die
}