You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-electronics/electric/electric-9.03.ebuild

31 lines
770 B

# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit desktop java-pkg-2
DESCRIPTION="Complete Electronic Design Automation system for many forms of circuit design"
HOMEPAGE="https://www.gnu.org/software/electric/electric.html"
SRC_URI="mirror://gnu/electric/${PN}Binary-${PV}.jar"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
>=virtual/jre-1.6
sci-electronics/electronics-menu"
DEPEND="app-arch/unzip"
S=${WORKDIR}
src_install() {
java-pkg_newjar "${DISTDIR}"/${PN}Binary-${PV}.jar
java-pkg_dolauncher ${PN}
newicon com/sun/electric/tool/user/help/helphtml/iconplug.png electric.png
make_desktop_entry electric "Electric VLSI Design System" electric "Electronics"
}