This commit is contained in:
geos_one
2011-06-16 06:45:39 +00:00
parent d74cc91be8
commit 8173355d0d
29 changed files with 1875 additions and 265 deletions

View File

@@ -0,0 +1,2 @@
DIST NUnit-2.5.3.9345-src.zip 2474495 RMD160 888d05ccd617782dc3b858e4d53f00e398c8dcdc SHA1 283e40f217cb4792e7712e4b96c80723410cdf5e SHA256 b00f8b474bdf66f698fe234e410a1569a9d155a7e343a29425b9d1c08412e599
EBUILD nunit-2.5.3.9345.ebuild 959 RMD160 5646e2571fc536aa079f78eccf294b76035bedd6 SHA1 a481250b0ef49369cb71adccfdbbd487fa8720b8 SHA256 4219792d8ab90001cdff1aa735cd80e1be689eee7d86c11b92078200af6337cb

View File

@@ -0,0 +1,52 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit mono
DESCRIPTION="This is a sample skeleton ebuild file"
HOMEPAGE="http://nunit.sf.net/"
SRC_URI="http://launchpad.net/nunitv2/2.5.3/2.5.3/+download/NUnit-${PV}-src.zip"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="debug"
DEPEND=">=dev-lang/mono-1.0
dev-dotnet/nant
app-arch/unzip"
S="${WORKDIR}/NUnit-${PV}"
src_compile() {
if use debug ; then
nant mono debug build || die
else
nant mono release build || die
fi
}
src_install() {
local builddir=""
use debug && builddir="debug" || builddir="release"
dodoc ${WORKDIR}/doc/*.txt
dohtml ${WORKDIR}/doc/*.html
insinto /usr/share/${P}/samples
doins -r ${WORKDIR}/samples/*
insinto /usr/lib/nunit/
buildpath=${WORKDIR}/src/build/mono/1.0/${builddir}
doins ${buildpath}/*.{config,dll,mdb,exe}
into /usr
dobin ${FILESDIR}/nunit-console
}