summaryrefslogtreecommitdiff
blob: bc06beb71857c4378624bc635711954a22daa6c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-electronics/electric/electric-8.04.ebuild,v 1.4 2007/07/29 10:08:25 calchan Exp $

inherit eutils java-pkg

DESCRIPTION="Complete Electronic Design Automation (EDA) system that can handle many forms of circuit design"
HOMEPAGE="http://www.gnu.org/software/electric/electric.html"
SRC_URI="mirror://gnu/electric/${PN}Binary-${PV}.jar"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND=">=virtual/jre-1.3"

S="${WORKDIR}"

src_install() {
	java-pkg_dojar ${DISTDIR}/${PN}Binary-${PV}.jar
	newicon com/sun/electric/tool/user/help/helphtml/iconplug.png electric.png
	make_wrapper electric "java -jar /usr/share/electric/lib/${PN}Binary-${PV}.jar"
	make_desktop_entry electric "Electric VLSI Design System" electric.png "Application;Engineering;Electronics"
}