/[gentoo-x86]/dev-dotnet/nant/nant-0.93_pre20130131.ebuild
Gentoo

Contents of /dev-dotnet/nant/nant-0.93_pre20130131.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri May 24 21:14:15 2013 UTC (6 years, 10 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Version bump for compatibility with mono-3 using the same snapshot as openSuSE, remove old

(Portage version: 2.1.12.1/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-dotnet/nant/nant-0.92.ebuild,v 1.4 2012/12/07 04:53:53 phajdan.jr Exp $
4
5 EAPI=5
6 inherit mono-env eutils
7
8 DESCRIPTION=".NET build tool"
9 HOMEPAGE="http://nant.sourceforge.net/"
10 SRC_URI="http://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~ppc ~x86"
15 IUSE=""
16
17 RDEPEND=">=dev-lang/mono-2.0"
18 DEPEND="${RDEPEND}
19 virtual/pkgconfig
20 "
21
22 # This build is not parallel build friendly
23 MAKEOPTS="${MAKEOPTS} -j1"
24
25 S="${WORKDIR}/${PN}"
26
27 src_compile() {
28 emake TARGET=mono-4.5 MCS="gmcs -sdk:4"
29 }
30
31 src_install() {
32 emake prefix="${ED}/usr" TARGET=mono-4.5 MCS="gmcs -sdk:4" install
33
34 # Fix ${ED} showing up in the nant wrapper script, as well as silencing
35 # warnings related to the log4net library
36 sed -i \
37 -e "s:${ED}::" \
38 -e "2iexport MONO_SILENT_WARNING=1" \
39 -e "s:${ED}::" \
40 "${ED}"/usr/bin/nant || die "Sed nant failed"
41
42 dodoc README.txt
43 }

  ViewVC Help
Powered by ViewVC 1.1.20