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

EAPI=2

inherit eutils

DESCRIPTION="Quite Universal Circuit Simulator is a Qt based circuit simulator"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
HOMEPAGE="http://qucs.sourceforge.net/"

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

DEPEND="x11-libs/qt-meta:3"
RDEPEND="x11-libs/qt-meta:3
	>=sci-electronics/freehdl-0.0.7"

src_configure() {
	econf --with-x $(use_enable debug)
}

src_install() {
	emake install DESTDIR="${D}" || die

	newicon qucs/bitmaps/big.qucs.xpm qucs.xpm || die
	make_desktop_entry qucs Qucs qucs "Qt;Science;Electronics"
}