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