add log4net

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/ifolder@1879 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2010-01-28 21:10:12 +00:00
parent 01cdbb7aca
commit e1d3b208d8
7 changed files with 98 additions and 3 deletions

View File

@@ -0,0 +1,4 @@
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 1392 RMD160 0e29131728884e1b42205631811d3cddab525c29 SHA1 6fe2a707eb2487157121bdc134c7412577689610 SHA256 81d5f1ddd5293cefec8fc627a607928bd5d10b4d84218166a344a62d762ed197

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/${PV}/incubating-log4net-${PV}.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
}

View File

@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<!--
$Header: /var/cvsroot/gentoo-x86/skel.metadata.xml,v 1.18 2008/07/28 19:27:05 cardoe Exp $
This is the example metadata file.
The root element of this file is <pkgmetadata>. Within this element a
number of subelements are allowed: herd, maintainer, and
longdescription. herd is a required subelement.
For a full description look at:
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=4
Before committing, please remove the comments from this file. They are
not relevant for general metadata.xml files.
-->
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
<email>@gentoo.org</email>
<!-- <description>Description of the maintainership</description> -->
</maintainer>
<!-- <longdescription>Long description of the package</longdescription> -->
<!--
<use>
<flag name='flag'>Description of how USE='flag' affects this package</flag>
<flag name='userland_GNU'>Description of how USERLAND='GNU' affects this
package</flag>
<flag name='aspell'>Uses <pkg>app-text/aspell</pkg> for spell checking.
Requires an installed dictionary from <cat>app-dicts</cat></flag>
</use>
-->
</pkgmetadata>