diff options
Diffstat (limited to 'dev-dotnet/mono-nat/mono-nat-1.0.ebuild')
-rw-r--r-- | dev-dotnet/mono-nat/mono-nat-1.0.ebuild | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/dev-dotnet/mono-nat/mono-nat-1.0.ebuild b/dev-dotnet/mono-nat/mono-nat-1.0.ebuild deleted file mode 100644 index 88dc391..0000000 --- a/dev-dotnet/mono-nat/mono-nat-1.0.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=2 - -inherit mono multilib - -MY_PN=Mono.Nat - -DESCRIPTION="Mono.Nat is a C# library used for automatic port forwarding, using either uPnP or nat-pmp." -HOMEPAGE="http://www.monotorrent.com/" -SRC_URI="http://monotorrent.com/Files/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="" -RDEPEND=">=dev-lang/mono-2.0.1" -DEPEND="${RDEPEND} - >=dev-util/pkgconfig-0.23" - -src_compile() { - emake -j1 ASSEMBLY_COMPILER_COMMAND="/usr/bin/gmcs -keyfile:${FILESDIR}/mono.snk" -} - -src_install() { - egacinstall $(find . -name "Mono.Nat.dll") - dodir /usr/$(get_libdir)/pkgconfig - ebegin "Installing .pc file" - sed \ - -e "s:@LIBDIR@:$(get_libdir):" \ - -e "s:@PACKAGENAME@:${MY_PN}:" \ - -e "s:@DESCRIPTION@:${DESCRIPTION}:" \ - -e "s:@VERSION@:${PV}:" \ - -e 's;@LIBS@;-r:${libdir}/mono/mono-nat/Mono.Nat.dll;' \ - "${FILESDIR}"/${PN}.pc.in > "${D}"/usr/$(get_libdir)/pkgconfig/mono.nat.pc \ - || die "sed failed" - PKG_CONFIG_PATH="${D}/usr/lib64/pkgconfig/" pkg-config --exists monotorrent || die ".pc file failed to validate." - eend $? -} |