add log4net

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/ifolder@1850 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2010-01-16 09:19:09 +00:00
parent 23d50a6d0d
commit aed86b4ea3
12 changed files with 116 additions and 6 deletions

View File

@@ -0,0 +1,43 @@
# 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.7 2009/10/21 15:56:38 maekke Exp $
21 Oct 2009; Markus Meier <maekke@gentoo.org> log4net-1.2.10-r3.ebuild:
amd64/x86 stable, bug #286874
*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)
26 Jan 2009; Peter Alfredsen <loki_val@gentoo.org>
+files/log4net.pc.in-r1, +files/log4net.snk, +log4net-1.2.10-r2.ebuild:
Install log4net.dll into the GAC. Use the same signing key to sign every
time so users don't have to rebuild all packages depending on this each
time they emerge it. Use the nant build system to figure out which docs to
install. EAPI-2ize. Use Debian's tarball so we don't have to mirror the
binaries in upstream's. Add ~amd64.
*log4net-1.2.10-r1 (26 Jun 2007)
26 Jun 2007; Jurek Bartuszek <jurek@gentoo.org> files/log4net.pc.in,
-log4net-1.2.10.ebuild, +log4net-1.2.10-r1.ebuild:
- Installing separate DLLs for different .NET versions
- Removed assembly from GAC
25 Jun 2007; Jurek Bartuszek <jurek@gentoo.org> +files/log4net.pc.in,
-files/log4net-1.2.10.pc, log4net-1.2.10.ebuild:
Generation of the .pc file is now more universal
*log4net-1.2.10 (24 Jun 2007)
24 Jun 2007; Jurek Bartuszek <jurek@gentoo.org> +files/log4net-1.2.10.pc,
+metadata.xml, +log4net-1.2.10.ebuild:
Initial version (fixing bug #63395). Credit goes to Tim Rädisch
<tim.raedisch@udo.edu>, Travis Hansen <travisghansen@yahoo.com> and Toffanin
[WiredTEK] <equilibrium@gechi.it> for providing the ebuilds slightly modified
by yours truly

View File

@@ -0,0 +1,5 @@
AUX log4net.pc.in-r1 200 RMD160 8bf42dff1a52151e656b0f7273286b98d5a48df7 SHA1 0e5c369c0a85a35ecf3de2991fa21ac64118b280 SHA256 3f314f295ba47a048c02f01661e2c814ee460d37c3ae534cad0bbe87c80a2c58
AUX log4net.snk 596 RMD160 61cf5a8c67b1905711de003f6af0921ab9422997 SHA1 d3e5fa3ddb1017516d6d732d1305f79940eef851 SHA256 6d593f81f9557e206d9f822cc2b0a07bd28a7e6a6448e8eed4b619812950db69
DIST incubating-log4net-1.2.10.zip 8203576 RMD160 970aa5af9035d1ef01c6b49085639f95bb3d6c00 SHA1 4f8ff9892665469f915855692c9fc02801038837 SHA256 50f6124dd01febb7716625aced1727b3db200d589af2d84c99ee22d5ab34fb3f
EBUILD log4net-1.2.10-r3.ebuild 1395 RMD160 aa23ab2f355c2c90b8efd7902c8967f02c42089f SHA1 f7cb34830553f52f80ca335b4f482d0ae96c7bc0 SHA256 9167883b37f39c8d976f64431dc90f79d3079346bd84e8367ad3815b92f77d02
MISC ChangeLog 1800 RMD160 769ce36983a1c19e3f29082f5bfbd86baa9bc154 SHA1 0362c4abc5fc4494ce66a52a538f35f0035498ea SHA256 9f02a60de1c130a6df57e4f7f4a4103f7d61afed92c1d23b6abbad5dc1e2ecf0

View File

@@ -0,0 +1,8 @@
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/@LIBDIR@
Name: Log4net
Description: Log4net - Logging library for C# and VB.NET
Version: @VERSION@
Libs: -r:${libdir}/mono/log4net/log4net.dll

Binary file not shown.

View File

@@ -0,0 +1,48 @@
# 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.2 2009/10/21 15:56:38 maekke 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="http://archive.apache.org/dist/incubator/log4net/1.2.10/incubating-log4net-1.2.10.zip"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND=">=dev-lang/mono-2.0"
DEPEND="${RDEPEND}
app-arch/unzip
dev-dotnet/nant"
src_prepare() {
edos2unix *.txt
rm -rf bin/
ln -s "${FILESDIR}"/log4net.snk log4net.snk
}
src_compile() {
# ASF recommend using nant to build log4net
nant -buildfile:log4net.build compile-all
}
src_install() {
egacinstall bin/mono/2.0/release/log4net.dll
egacinstall bin/mono/1.0/release/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 LICENSE.txt
}