diff options
author | Peter Alfredsen <loki_val@gentoo.org> | 2009-04-27 09:01:42 +0000 |
---|---|---|
committer | Peter Alfredsen <loki_val@gentoo.org> | 2009-04-27 09:01:42 +0000 |
commit | f9472c1e0e14c2f27536000c7747cad1ba800d40 (patch) | |
tree | f46bd29704812188b1cb124b0b2c56a654770aef /dev-dotnet/mono-nat | |
parent | 27 Apr 2009; Zac Medico <zmedico@gentoo.org> +calibre-0.5.9.ebuild: (diff) | |
download | historical-f9472c1e0e14c2f27536000c7747cad1ba800d40.tar.gz historical-f9472c1e0e14c2f27536000c7747cad1ba800d40.tar.bz2 historical-f9472c1e0e14c2f27536000c7747cad1ba800d40.zip |
Bump
Package-Manager: portage-2.2_rc28/cvs/Linux x86_64
Diffstat (limited to 'dev-dotnet/mono-nat')
-rw-r--r-- | dev-dotnet/mono-nat/ChangeLog | 7 | ||||
-rw-r--r-- | dev-dotnet/mono-nat/mono-nat-1.0.1.ebuild | 41 |
2 files changed, 47 insertions, 1 deletions
diff --git a/dev-dotnet/mono-nat/ChangeLog b/dev-dotnet/mono-nat/ChangeLog index 9e0516cd3cc4..a5e7817edf43 100644 --- a/dev-dotnet/mono-nat/ChangeLog +++ b/dev-dotnet/mono-nat/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-dotnet/mono-nat # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/mono-nat/ChangeLog,v 1.1 2009/04/05 12:13:47 loki_val Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/mono-nat/ChangeLog,v 1.2 2009/04/27 09:01:21 loki_val Exp $ + +*mono-nat-1.0.1 (27 Apr 2009) + + 27 Apr 2009; Peter Alfredsen <loki_val@gentoo.org> +mono-nat-1.0.1.ebuild: + Bump *mono-nat-1.0 (05 Apr 2009) diff --git a/dev-dotnet/mono-nat/mono-nat-1.0.1.ebuild b/dev-dotnet/mono-nat/mono-nat-1.0.1.ebuild new file mode 100644 index 000000000000..536aedb8d8e2 --- /dev/null +++ b/dev-dotnet/mono-nat/mono-nat-1.0.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/mono-nat/mono-nat-1.0.1.ebuild,v 1.1 2009/04/27 09:01:21 loki_val Exp $ + +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://projects.qnetp.net/attachments/download/20/${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/$(get_libdir)/pkgconfig/" pkg-config --exists mono.nat || die ".pc file failed to validate." + eend $? +} |