# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-9.02.ebuild,v 1.5 2006/09/23 15:49:27 nixnut Exp $ GCONF_DEBUG="no" inherit eutils IUSE="" RESTRICT="nomirror" DESCRIPTION="Taverna Workbench" HOMEPAGE="http://taverna.sourceforge.net/" SRC_URI="http://surfnet.dl.sourceforge.net/sourceforge/taverna/taverna-workbench-${PV}.zip" DEPEND="app-arch/unzip" RDEPEND="|| ( ( x11-libs/libXrandr x11-libs/libXp x11-libs/libXmu x11-libs/libXi x11-libs/libXft x11-libs/libXext x11-libs/libXcursor x11-libs/libX11 x11-libs/libSM x11-libs/libICE ) virtual/x11 ) =virtual/jdk-1.5.0 media-gfx/graphviz" SLOT="0" LICENSE="LGPL" KEYWORDS="x86" src_unpack() { unpack ${A} cd ${S} } src_compile() { true } src_install() { # Change dir to /opt dodir /opt # Copy source files cp -R ${S} ${D}/opt/${P} # Install the icons insinto /usr/share/pixmaps doins taverna.ico # Install the menu entry insinto /usr/share/applications doins ${FILESDIR}/taverna.desktop # Install a symlink /usr/bin/opera dodir /usr/bin dosym /opt/${P}/runme.sh /usr/bin/taverna fperms 755 /opt/${P}/dataviewer.sh fperms 755 /opt/${P}/executeworkflow.sh fperms 755 /opt/${P}/runme.sh }