Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-dotnet/monotorrent: ChangeLog monotorrent-0.80.ebuild
Date: Sun, 27 Feb 2011 13:57:48
Message-Id: 20110227135724.1A52F20054@flycatcher.gentoo.org
1 pacho 11/02/27 13:57:24
2
3 Modified: ChangeLog
4 Added: monotorrent-0.80.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.1.9.41/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.7 dev-dotnet/monotorrent/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-dotnet/monotorrent/ChangeLog?rev=1.7&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-dotnet/monotorrent/ChangeLog?rev=1.7&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-dotnet/monotorrent/ChangeLog?r1=1.6&r2=1.7
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-dotnet/monotorrent/ChangeLog,v
20 retrieving revision 1.6
21 retrieving revision 1.7
22 diff -u -r1.6 -r1.7
23 --- ChangeLog 31 Aug 2009 13:58:26 -0000 1.6
24 +++ ChangeLog 27 Feb 2011 13:57:23 -0000 1.7
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-dotnet/monotorrent
27 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/monotorrent/ChangeLog,v 1.6 2009/08/31 13:58:26 loki_val Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/monotorrent/ChangeLog,v 1.7 2011/02/27 13:57:23 pacho Exp $
31 +
32 +*monotorrent-0.80 (27 Feb 2011)
33 +
34 + 27 Feb 2011; Pacho Ramos <pacho@g.o> +monotorrent-0.80.ebuild:
35 + Version bump.
36
37 31 Aug 2009; Peter Alfredsen <loki_val@g.o>
38 -monotorrent-0.70.ebuild, monotorrent-0.72.ebuild, -files/mono.snk:
39
40
41
42 1.1 dev-dotnet/monotorrent/monotorrent-0.80.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-dotnet/monotorrent/monotorrent-0.80.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-dotnet/monotorrent/monotorrent-0.80.ebuild?rev=1.1&content-type=text/plain
46
47 Index: monotorrent-0.80.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-dotnet/monotorrent/monotorrent-0.80.ebuild,v 1.1 2011/02/27 13:57:23 pacho Exp $
52
53 EAPI=2
54
55 inherit mono multilib
56
57 DESCRIPTION="Monotorrent is an open source C# bittorrent library"
58 HOMEPAGE="http://projects.qnetp.net/projects/show/monotorrent"
59 SRC_URI="http://projects.qnetp.net/attachments/download/28/${P}.tar.gz
60 mirror://gentoo/mono.snk.bz2"
61
62 LICENSE="MIT"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE=""
66 RDEPEND=">=dev-lang/mono-2.0.1"
67 DEPEND="${RDEPEND}
68 >=dev-util/pkgconfig-0.23"
69
70 # The hack we do to get the dll installed in the GAC makes the unit-tests
71 # defunct.
72 RESTRICT="test"
73
74 src_prepare() {
75 sed -i \
76 -e "/InternalsVisibleTo/d" \
77 MonoTorrent/AssemblyInfo.cs* || die
78 }
79
80 src_compile() {
81 emake -j1 ASSEMBLY_COMPILER_COMMAND="/usr/bin/gmcs -keyfile:${WORKDIR}/mono.snk"
82 }
83
84 src_install() {
85 egacinstall $(find . -name "MonoTorrent.dll")
86 dodir /usr/$(get_libdir)/pkgconfig
87 ebegin "Installing .pc file"
88 sed \
89 -e "s:@LIBDIR@:$(get_libdir):" \
90 -e "s:@PACKAGENAME@:${PN}:" \
91 -e "s:@DESCRIPTION@:${DESCRIPTION}:" \
92 -e "s:@VERSION@:${PV}:" \
93 -e 's;@LIBS@;-r:${libdir}/mono/monotorrent/MonoTorrent.dll;' \
94 "${FILESDIR}"/${PN}.pc.in > "${D}"/usr/$(get_libdir)/pkgconfig/${PN}.pc
95 PKG_CONFIG_PATH="${D}/usr/$(get_libdir)/pkgconfig/" pkg-config --exists monotorrent || die ".pc file failed to validate."
96 eend $?
97 }