summaryrefslogtreecommitdiff
blob: dabbdf9d527ba0a3ffeb4437336322a9704bc4c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/ml-pnet/ml-pnet-0.7.4.ebuild,v 1.9 2007/08/13 20:13:24 dertobi123 Exp $

DESCRIPTION="Mono C# libraries for Portable.NET"
HOMEPAGE="http://www.dotgnu.org/"
SRC_URI="http://www.southern-storm.com.au/download/${P}.tar.gz"

LICENSE="|| ( GPL-2 X11 )"
SLOT="0"
KEYWORDS="amd64 arm ia64 ppc x86"
IUSE=""

DEPEND="=dev-dotnet/pnetlib-${PV}*"

src_compile() {
	local lib_profile="framework1.1"
	elog "Using profile: ${lib_profile}"

	econf --with-profile=${lib_profile} || die "econf failed"

	# Prevents build failure due to length of argument list (bug #167442)
	find ${S} -name Makefile | xargs sed -i -e "s#${WORKDIR}#\${top_srcdir}/..#"

	emake || die "emake failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
	dodoc AUTHORS ChangeLog NEWS README
}