From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0AA831382C5 for ; Wed, 7 Apr 2021 08:41:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 608EEE09DE; Wed, 7 Apr 2021 08:41:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 47D0FE09DE for ; Wed, 7 Apr 2021 08:41:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 58007340C50 for ; Wed, 7 Apr 2021 08:41:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B74DC5D2 for ; Wed, 7 Apr 2021 08:41:22 +0000 (UTC) From: "Tobias Klausmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tobias Klausmann" Message-ID: <1617784881.1453f6535a527e94edf1405594bb623a6dce2046.klausman@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/zlog/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/zlog/Manifest dev-libs/zlog/zlog-1.2.15.ebuild X-VCS-Directories: dev-libs/zlog/ X-VCS-Committer: klausman X-VCS-Committer-Name: Tobias Klausmann X-VCS-Revision: 1453f6535a527e94edf1405594bb623a6dce2046 X-VCS-Branch: master Date: Wed, 7 Apr 2021 08:41:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0090eeb6-68bc-4e28-9e2a-c59900a65102 X-Archives-Hash: d36ce13df599ad6430e66e5623d997cd commit: 1453f6535a527e94edf1405594bb623a6dce2046 Author: Tobias Klausmann gentoo org> AuthorDate: Wed Apr 7 08:41:00 2021 +0000 Commit: Tobias Klausmann gentoo org> CommitDate: Wed Apr 7 08:41:21 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1453f653 dev-libs/zlog: Add v1.2.15 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Tobias Klausmann gentoo.org> dev-libs/zlog/Manifest | 1 + dev-libs/zlog/zlog-1.2.15.ebuild | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/dev-libs/zlog/Manifest b/dev-libs/zlog/Manifest index 0470b228b9f..8ed7d638f59 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 00000000000..12d8d51008b --- /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 +}