summaryrefslogtreecommitdiff
blob: 3b0ab118879f0c1884234c9fb386be5d91bdbfe0 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/monsoon/monsoon-0.21.ebuild,v 1.4 2009/08/31 14:00:45 loki_val Exp $

EAPI=2

inherit mono multilib autotools

DESCRIPTION="Monsoon is an open source Gtk# bittorrent client"
HOMEPAGE="http://www.monsoon-project.org/"
SRC_URI="http://www.monsoon-project.org/jaws/data/files/${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND=">=dev-lang/mono-2.0.1
	=dev-dotnet/monotorrent-0.72
	>=dev-dotnet/mono-nat-1.0.1
	>=dev-dotnet/nlog-1.0
	>=dev-dotnet/dbus-sharp-0.6.1a
	>=dev-dotnet/dbus-glib-sharp-0.4.1
	>=dev-dotnet/gtk-sharp-2.12.7-r10
	>=dev-dotnet/gdk-sharp-2.12.7-r10
	>=dev-dotnet/glib-sharp-2.12.7-r10
	>=dev-dotnet/gconf-sharp-2.24.0-r10"
DEPEND="${RDEPEND}
	>=dev-util/pkgconfig-0.23"

#This sucks, but the install process is screwed up if it's set.
unset LINGUAS

src_prepare() {
	epatch "${FILESDIR}/${PN}-0.20-build.patch"
	AT_M4DIR="${S}" eautoreconf
}

src_compile() {
	emake -j1 ASSEMBLY_COMPILER_COMMAND="/usr/bin/gmcs"
}

src_install() {
	emake -j1 DESTDIR="${D}" install
}