summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-dotnet')
-rw-r--r--dev-dotnet/log4net/ChangeLog9
-rw-r--r--dev-dotnet/log4net/log4net-1.2.11.ebuild45
2 files changed, 52 insertions, 2 deletions
diff --git a/dev-dotnet/log4net/ChangeLog b/dev-dotnet/log4net/ChangeLog
index 55e9c35fc4e8..1c611d35c493 100644
--- a/dev-dotnet/log4net/ChangeLog
+++ b/dev-dotnet/log4net/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-dotnet/log4net
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/log4net/ChangeLog,v 1.9 2011/06/28 12:27:22 pacho Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/log4net/ChangeLog,v 1.10 2012/01/21 19:24:51 pacho Exp $
+
+*log4net-1.2.11 (21 Jan 2012)
+
+ 21 Jan 2012; Pacho Ramos <pacho@gentoo.org> +log4net-1.2.11.ebuild:
+ Version bump.
28 Jun 2011; Pacho Ramos <pacho@gentoo.org> -files/log4net.snk,
log4net-1.2.10-r3.ebuild:
diff --git a/dev-dotnet/log4net/log4net-1.2.11.ebuild b/dev-dotnet/log4net/log4net-1.2.11.ebuild
new file mode 100644
index 000000000000..9461f263bcd2
--- /dev/null
+++ b/dev-dotnet/log4net/log4net-1.2.11.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/log4net/log4net-1.2.11.ebuild,v 1.1 2012/01/21 19:24:50 pacho Exp $
+
+EAPI="4"
+
+inherit eutils mono versionator
+
+PV_MAJOR=$(get_version_component_range 1-2)
+
+DESCRIPTION="tool to help the programmer output log statements to a variety of output targets."
+HOMEPAGE="http://logging.apache.org/log4net/"
+SRC_URI="mirror://apache/logging/log4net/source/${P}-src.zip
+ http://dev.gentoo.org/~pacho/dotnet/log4net.snk"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/mono-2.0"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ /usr/bin/gmcs \
+ -t:library \
+ -out:log4net.dll \
+ -keyfile:"${DISTDIR}"/log4net.snk \
+ -r:System.Data \
+ -r:System.Web \
+ $(find src -name "*.cs") || die
+}
+
+src_install() {
+ egacinstall log4net.dll
+ dodir /usr/$(get_libdir)/pkgconfig
+ sed -e "s:@VERSION@:${PV}:" \
+ -e "s:@LIBDIR@:$(get_libdir):" \
+ -e "s:@NET_VERSION@:2.0:" \
+ "${FILESDIR}"/${PN}.pc.in-r1 > "${D}"/usr/$(get_libdir)/pkgconfig/${PN}-${PV}.pc
+ dosym ${PN}-${PV}.pc /usr/$(get_libdir)/pkgconfig/${PN}-${PV_MAJOR}.pc
+ dosym ${PN}-${PV}.pc /usr/$(get_libdir)/pkgconfig/${PN}.pc
+
+ dodoc README.txt STATUS.txt
+}