summaryrefslogtreecommitdiff
path: root/dev-libs/liblogging
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/liblogging')
-rw-r--r--dev-libs/liblogging/Manifest1
-rw-r--r--dev-libs/liblogging/liblogging-1.0.6-r1.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-libs/liblogging/Manifest b/dev-libs/liblogging/Manifest
index a8ab7ebe0348..1ae26f323210 100644
--- a/dev-libs/liblogging/Manifest
+++ b/dev-libs/liblogging/Manifest
@@ -1,3 +1,4 @@
DIST liblogging-1.0.6.tar.gz 593393 BLAKE2B c2ca93225b7594c2c064f14e83f475cf2f3dbf608e77e103759371e81e0052e49624740c35f29b7bf9cd1872f4f85f286a2c903f503bebb170a5337d0dfe0677 SHA512 09c90a93b2d32afa44be5a800705a64690810a56d21bed1455cb70680b01fecd4efef3881a43f98ebcafa996b6046ed8e5af935eacc12014f330a7fd23674964
+EBUILD liblogging-1.0.6-r1.ebuild 813 BLAKE2B 413560488b19378316217c95088f9cb2e7b1bc94d3bbcc03356516d366660d869b7c6b43c8ab8839b04e551681c83562640a8bec607a1f283b5919bc40de9e8d SHA512 07d5d3cdf811f7b7962daa4edc485c28d6dc69ddeff361e28e9fdaa3cd7d853791f1b911a4f26e2d73532e14199f0ba40312fcbc9a9dbea112fa1df1cd003bf3
EBUILD liblogging-1.0.6.ebuild 810 BLAKE2B 4015df99b46b43fad2befc7d5ee3b12902f42e11eedfb1ac804951d0947dc2d1fed913c4b618b6c35416f498e226289dffd9f5a8e9c204ec1cb1c715faf67075 SHA512 8c06267b26c322caa53260dffe886aa074d69bfef0509e179a206f9c970001112c9895197b91e96dc8d95d231c1ceb1647c8114753d3a325a716cae12bb6abef
MISC metadata.xml 794 BLAKE2B 119cd2e59c6c86097104e92c1047934edbbf4161e6e802b5662e9ba151da653e979cf0763bd0f25a019b601c1b8c4ed9d1d01068de6b29bf4ee877c1f735e14e SHA512 00f695d3d447da2dde292da32c37ec38f3f2bc953de84f9697a3d01f866cc4c1421ba845edfd164f5455fc5249115738517662a345f877bb0b0f73f80829ac51
diff --git a/dev-libs/liblogging/liblogging-1.0.6-r1.ebuild b/dev-libs/liblogging/liblogging-1.0.6-r1.ebuild
new file mode 100644
index 000000000000..74f650adc76c
--- /dev/null
+++ b/dev-libs/liblogging/liblogging-1.0.6-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Liblogging is an easy to use, portable, open source library for system logging"
+HOMEPAGE="http://www.liblogging.org"
+SRC_URI="http://download.rsyslog.com/liblogging/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0/0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86"
+IUSE="rfc3195 stdlog systemd"
+
+RDEPEND="systemd? ( sys-apps/systemd )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( ChangeLog )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable rfc3195)
+ $(use_enable stdlog)
+ $(use_enable systemd journal)
+ --disable-static
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete || die
+}