summaryrefslogtreecommitdiff
blob: ca9fb1ab21c047e26eedd386ddbf3004468d4524 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

inherit qt4-r2

MY_PN="CandyStore"

DESCRIPTION="CandyStore is a post processor for CalculiX"
HOMEPAGE="http://fe-candy.de"
SRC_URI="http://fe-candy.de/${P}.zip"

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

DEPEND="x11-libs/qt-gui:4"
RDEPEND=${DEPEND}

S=${WORKDIR}/${MY_PN}

src_configure() {
	eqmake4 ${MY_PN}.pro -o Makefile PREFIX=/usr
}

src_install() {
	dobin ${MY_PN} || die "installation failed"

	if use doc ; then
		dohtml -r html/* || die "installing html files failed"
		docinto examples
		dodoc test-files/* || die "installing examples failed"
	fi
}