summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klausmann <klausman@gentoo.org>2021-04-07 10:41:00 +0200
committerTobias Klausmann <klausman@gentoo.org>2021-04-07 10:41:21 +0200
commit1453f6535a527e94edf1405594bb623a6dce2046 (patch)
treeee3ebb86651eb6845eb22e7906fcce0808b773dc
parentnet-libs/kdsoap-ws-discovery-client: Drop 0.2_pre20200317 (diff)
downloadgentoo-1453f6535a527e94edf1405594bb623a6dce2046.tar.gz
gentoo-1453f6535a527e94edf1405594bb623a6dce2046.tar.bz2
gentoo-1453f6535a527e94edf1405594bb623a6dce2046.zip
dev-libs/zlog: Add v1.2.15
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Tobias Klausmann <klausman@gentoo.org>
-rw-r--r--dev-libs/zlog/Manifest1
-rw-r--r--dev-libs/zlog/zlog-1.2.15.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-libs/zlog/Manifest b/dev-libs/zlog/Manifest
index 0470b228b9f3..8ed7d638f59e 100644
--- a/dev-libs/zlog/Manifest
+++ b/dev-libs/zlog/Manifest
@@ -1 +1,2 @@
DIST zlog-v1.2.14.tar.gz 123729 BLAKE2B 6985898af81ecb3b86c941dea1402dc03c80a773b2791d56228b4627f6e6ea62f27442536e5126169b5f3f77425cba49bd3b50dc0d7ffc5ac3d88f5001afc3e2 SHA512 e16524e8caa8a3c79ce95074387b87a0025e0fd9a7e35a09ddf49a41839e36a3fe42f5ad785ec786573b6c4c633f493845c7d5cbf0b03717affe4659ea1d53ef
+DIST zlog-v1.2.15.tar.gz 124794 BLAKE2B a60ef362269d48672c7f0f4321b6c4f50241c7c1abcc2c3a3a888d7838018edaba103cbb985fda02db719dcb8553bad3f84bfd715f3fdb34ad64557107d24e44 SHA512 88c741b58e7857c573e4da0b3999a23c00d339e45eb4f7d3e07c03dbe8ebf4cae62720208c9759871969bb4959d2f081b6a8955e229d3872f99cde3e650702e4
diff --git a/dev-libs/zlog/zlog-1.2.15.ebuild b/dev-libs/zlog/zlog-1.2.15.ebuild
new file mode 100644
index 000000000000..12d8d51008b2
--- /dev/null
+++ b/dev-libs/zlog/zlog-1.2.15.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="A reliable, thread safe, clear-model, pure C logging library."
+HOMEPAGE="http://hardysimpson.github.io/zlog/"
+SRC_URI="https://github.com/HardySimpson/${PN}/archive/${PV}.tar.gz -> ${PN}-v${PV}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+PATCHES="${FILESDIR}/zlog_no_static_lib.patch"
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_test() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" test
+}
+
+src_install() {
+ emake LIBRARY_PATH="$(get_libdir)" PREFIX="${D}/usr" install
+}