# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=3 inherit eutils MY_PN=processing S=${WORKDIR}/${MY_PN}-${PV}/ DESCRIPTION="Open source programming language and environment to create guis....etc. often used with arduino ide" HOMEPAGE="http://processing.org/" SRC_URI="http://processing.googlecode.com/files/${MY_PN}-${PV}-linux.tgz" LICENSE="GPL-2 LGPL-2 CCPL-Attribution-ShareAlike-3.0" SLOT="0" KEYWORDS="~x86 ~amd64" RESTRICT="strip binchecks" RDEPEND=" virtual/jre dev-embedded/uisp dev-java/jikes dev-java/jna >=dev-java/rxtx-2.2_pre2 " src_install() { # this application is used in tandem with the arduino ide to create guis to control hardware projects. # it is logic to put them in the same path. the arduino ide is a fork project from this ide. dodir "/usr/share/${P}/" "/usr/bin" || die "Failed to make dirs" cp -a "${S}"/* "${D}/usr/share/${P}" || die "Copying failed" dosym /usr/share/${P}/${MY_PN} /usr/bin/${MY_PN}|| die "Failed to symlink command" domenu "${FILESDIR}"/*.desktop|| die "Failed to install desktop link" doicon "${FILESDIR}"/*.png || die "Failed to install desktop icon" }