summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2012-01-22 10:45:58 +0000
committerPacho Ramos <pacho@gentoo.org>2012-01-22 10:45:58 +0000
commitcb8ee63e6cf505f982a7d275be42b97223d3f012 (patch)
tree1221b6e149df625d353a0c5c41d7df50c9f5ad74 /dev-dotnet
parentVersion bumped. Removed migu-1vs and migu-2ds because of license issue. (diff)
downloadgentoo-2-cb8ee63e6cf505f982a7d275be42b97223d3f012.tar.gz
gentoo-2-cb8ee63e6cf505f982a7d275be42b97223d3f012.tar.bz2
gentoo-2-cb8ee63e6cf505f982a7d275be42b97223d3f012.zip
Version bump.
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'dev-dotnet')
-rw-r--r--dev-dotnet/mono-nat/ChangeLog9
-rw-r--r--dev-dotnet/mono-nat/mono-nat-1.1.0.ebuild42
2 files changed, 49 insertions, 2 deletions
diff --git a/dev-dotnet/mono-nat/ChangeLog b/dev-dotnet/mono-nat/ChangeLog
index 17fc18569b19..5c613b0b0903 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-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/mono-nat/ChangeLog,v 1.9 2010/10/07 19:48:22 pacho Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/mono-nat/ChangeLog,v 1.10 2012/01/22 10:45:58 pacho Exp $
+
+*mono-nat-1.1.0 (22 Jan 2012)
+
+ 22 Jan 2012; Pacho Ramos <pacho@gentoo.org> +mono-nat-1.1.0.ebuild:
+ Version bump.
07 Oct 2010; Pacho Ramos <pacho@gentoo.org> -mono-nat-1.0.1.ebuild:
Remove old.
diff --git a/dev-dotnet/mono-nat/mono-nat-1.1.0.ebuild b/dev-dotnet/mono-nat/mono-nat-1.1.0.ebuild
new file mode 100644
index 000000000000..eb66ef465556
--- /dev/null
+++ b/dev-dotnet/mono-nat/mono-nat-1.1.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2012 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.1.0.ebuild,v 1.1 2012/01/22 10:45:58 pacho Exp $
+
+EAPI="4"
+
+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://projects.qnetp.net/projects/show/mono-nat"
+SRC_URI="http://projects.qnetp.net/attachments/download/76/${P}.tar.gz
+ mirror://gentoo/mono.snk.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+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:${WORKDIR}/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 $?
+}