summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2009-04-05 14:47:50 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2009-04-05 14:47:50 +0000
commit87365b783c05ae31b4dd4b3a8c8b79d64353281a (patch)
tree4484ce258c3afcd53505951dada8477bcb1b7775 /dev-dotnet/log4net
parentStable on alpha, bug #263618 (diff)
downloadgentoo-2-87365b783c05ae31b4dd4b3a8c8b79d64353281a.tar.gz
gentoo-2-87365b783c05ae31b4dd4b3a8c8b79d64353281a.tar.bz2
gentoo-2-87365b783c05ae31b4dd4b3a8c8b79d64353281a.zip
Add -r3 which does not depend on nant for building.
(Portage version: 2.2_rc28/cvs/Linux x86_64)
Diffstat (limited to 'dev-dotnet/log4net')
-rw-r--r--dev-dotnet/log4net/ChangeLog8
-rw-r--r--dev-dotnet/log4net/log4net-1.2.10-r3.ebuild44
2 files changed, 51 insertions, 1 deletions
diff --git a/dev-dotnet/log4net/ChangeLog b/dev-dotnet/log4net/ChangeLog
index e54ba6d2677d..67a39dc0197d 100644
--- a/dev-dotnet/log4net/ChangeLog
+++ b/dev-dotnet/log4net/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-dotnet/log4net
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/log4net/ChangeLog,v 1.5 2009/01/26 17:26:13 loki_val Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/log4net/ChangeLog,v 1.6 2009/04/05 14:47:50 loki_val Exp $
+
+*log4net-1.2.10-r3 (05 Apr 2009)
+
+ 05 Apr 2009; Peter Alfredsen <loki_val@gentoo.org>
+ +log4net-1.2.10-r3.ebuild:
+ Add -r3 which does not depend on nant for building.
*log4net-1.2.10-r2 (26 Jan 2009)
diff --git a/dev-dotnet/log4net/log4net-1.2.10-r3.ebuild b/dev-dotnet/log4net/log4net-1.2.10-r3.ebuild
new file mode 100644
index 000000000000..813bf03a48f8
--- /dev/null
+++ b/dev-dotnet/log4net/log4net-1.2.10-r3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/log4net/log4net-1.2.10-r3.ebuild,v 1.1 2009/04/05 14:47:50 loki_val Exp $
+
+EAPI=2
+
+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://debian/pool/main/l/log4net/log4net_1.2.10+dfsg.orig.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+RDEPEND=">=dev-lang/mono-2.0"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ /usr/bin/gmcs \
+ -t:library \
+ -out:log4net.dll \
+ -keyfile:"${FILESDIR}"/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 NOTICE.txt
+}