# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit mono DESCRIPTION="This is a sample skeleton ebuild file" HOMEPAGE="http://foo.bar.com/" SRC_URI="http://www.nunit.org/downloads/NUnit-${PV}-src.zip" LICENSE="BSD" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=dev-dotnet/mono-1.0 dev-dotnet/nant" S=${WORKDIR} src_unpack() { cd ${WORKDIR} cp ${DISTDIR}/${A} ${WORKDIR} unzip ${A} } src_compile() { nant mono release build } src_install() { dodoc doc/{ChangeLog,ReleaseNotes}.txt insinto /usr/lib/nunit/ doins ${S}/build/mono-1.0/release/bin/* into /usr dobin ${FILESDIR}/nunit-console }