summaryrefslogtreecommitdiff
path: root/dev-dotnet/log4net
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-dotnet/log4net
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-dotnet/log4net')
-rw-r--r--dev-dotnet/log4net/Manifest5
-rw-r--r--dev-dotnet/log4net/files/log4net.pc.in-r18
-rw-r--r--dev-dotnet/log4net/log4net-1.2.11.ebuild44
-rw-r--r--dev-dotnet/log4net/metadata.xml8
4 files changed, 65 insertions, 0 deletions
diff --git a/dev-dotnet/log4net/Manifest b/dev-dotnet/log4net/Manifest
new file mode 100644
index 000000000000..54ef1476a418
--- /dev/null
+++ b/dev-dotnet/log4net/Manifest
@@ -0,0 +1,5 @@
+AUX log4net.pc.in-r1 200 BLAKE2B 26178e22f3fd91bd380fc3daa795a056e09fa72575e8c2727910f50dfa864b661af7b20e4366b825604df988cb298aa9ba56b0301288a716e3bc3552b961fa39 SHA512 57b3d07219d8ba030108e73d2208b424caa3d7afb6004a04647771c2963fc4669ba3cf057cb30b93d6e04cf736127f96ebda8fbb05910eed9ea60ca0245bfb2f
+DIST log4net-1.2.11-src.zip 1208854 BLAKE2B 82906395d9ed5aedacc8e86ce862aef55a91e98aaedf9c4558f9a4aa749ff59b689a2e0658ddc8287b919b8e2d8a1a544f477b85016dab4e48da899fce143f24 SHA512 b6ad8c873de69a30c68c82265dd2a5de331ecb780896f750088fe1e91f17191c2b54850629ece26659ec4c72b695cccae48eae30dbdf4dd18d5545cc24a42865
+DIST log4net.snk 596 BLAKE2B d83b91d9601d89bd4120d9543b893701b62193e93c1947051f8283eae9b2d7759fa372d349a95de55255dcee83039c983124a90f77d1830ae82e31141f3dca74 SHA512 b0525adfe90b8d86c7e7ac8295097b60b03b427aa4e6ad36b32bb98c7bc9fc081158249285c42eeff7637bd66a742ca422906a85544ca6526fe5e785cead8ff7
+EBUILD log4net-1.2.11.ebuild 1170 BLAKE2B 240370e49d648e0c91ab7f2e8dec16e63ff6ca0dd47a5b0cab8fa0e3154656c6b156c6c92e1d11a15fe6e0f5687de6047a38f60da24238cc25a09fdae3df02c1 SHA512 f278d5937e6129732134f463919bee2a6f901e1211fc7d06b8a9ad6fbc533683cdd83b34263d10a823652a25a19b4777bcfa835ce8e8b94bb38bf828e328e861
+MISC metadata.xml 251 BLAKE2B 102da490c04b5ec767aebd0f076ea9aa083ec51416f584daad83e4202bd51e7182e95b7c1c98125c2a9da29eaa6b97dd4d9825c9d72e9c89d85d209e89031f48 SHA512 9b3d8ef0e933c58ceeae768b5e07fec1aba98d2f0add71719bcdec0e571b503b102610c0c4cbc322cc15638547e2f26f149d80c1498edb10b16a874014ae20d0
diff --git a/dev-dotnet/log4net/files/log4net.pc.in-r1 b/dev-dotnet/log4net/files/log4net.pc.in-r1
new file mode 100644
index 000000000000..262850fc1e4d
--- /dev/null
+++ b/dev-dotnet/log4net/files/log4net.pc.in-r1
@@ -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
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..1f1d7f15db39
--- /dev/null
+++ b/dev-dotnet/log4net/log4net-1.2.11.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit eutils mono multilib 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
+ https://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/mcs \
+ -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
+}
diff --git a/dev-dotnet/log4net/metadata.xml b/dev-dotnet/log4net/metadata.xml
new file mode 100644
index 000000000000..c99669dda129
--- /dev/null
+++ b/dev-dotnet/log4net/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>dotnet@gentoo.org</email>
+ <name>Gentoo Dotnet Project</name>
+</maintainer>
+</pkgmetadata>