# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Java server benchmark utility" HOMEPAGE="http://www.volano.com/benchmarks.html" SRC_URI="http://www.volano.com/pub/vmark2_5_0_9.class" LICENSE="Volano" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="virtual/jre" src_unpack() { :; } src_install() { java -classpath ${DISTDIR} vmark2_5_0_9 -o ${WORKDIR}/${P} dodir /opt/${PN} cd ${WORKDIR}/${P} chmod 755 *.sh cp -r . ${D}/opt/${PN} } pkg_postinst() { ewarn "The vendor provided installation script is somewhat broken!" einfo einfo "startup.sh will need to be edited with the correct" einfo "path to the desired java installations you would" einfo "like to benchmark." }