blob: 4b0c735e0c2df0c5dd25c48427f72eed08859d19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils mono-env dotnet multilib versionator gac
PV_MAJOR=$(get_version_component_range 1-2)
DESCRIPTION="tool to help the programmer output log statements to a variety of output targets"
HOMEPAGE="https://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"
IUSE=""
RDEPEND=">=dev-lang/mono-4.0.2.5"
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
einstall_pc_file "${PN}" "${PV}" "log4net"
dodoc README.txt STATUS.txt
}
|