# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Test::Unit is a unit testing framework for the Ruby language" HOMEPAGE="http://testunit.talbott.ws/" SRC_URI="http://testunit.talbott.ws/packages/${P}.tar.gz" LICENSE="Ruby" SLOT="0" KEYWORDS="x86" DEPEND=">=dev-lang/ruby-1.6.7" S=${WORKDIR}/${P} src_install () { ruby setup.rb config --prefix=${D}/usr || die ruby setup.rb setup || die ruby setup.rb install || die dodoc ChangeLog README TODO cp -R doc ${D}usr/share/doc/${PF}/${DOCDESTTREE}/ cp -R examples ${D}usr/share/doc/${PF}/${DOCDESTTREE}/ # TODO - There should be a better way to accomplish the above two commands. }