From 0f558761aa2dee1017b4751e4017205e015a9560 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 Jun 2022 12:04:12 +0100 Subject: gentoo resync : 29.12.2022 --- dev-cpp/prometheus-cpp/Manifest | 2 ++ dev-cpp/prometheus-cpp/prometheus-cpp-1.0.1.ebuild | 41 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 dev-cpp/prometheus-cpp/prometheus-cpp-1.0.1.ebuild (limited to 'dev-cpp/prometheus-cpp') diff --git a/dev-cpp/prometheus-cpp/Manifest b/dev-cpp/prometheus-cpp/Manifest index 988746aa078b..2f0765327695 100644 --- a/dev-cpp/prometheus-cpp/Manifest +++ b/dev-cpp/prometheus-cpp/Manifest @@ -1,3 +1,5 @@ DIST prometheus-cpp-1.0.0.tar.gz 56244 BLAKE2B 51ff199c0cd09367de873310a835b7a4a5893de11a6115b3de8ef142eb12b326ea7498a8adc155f3bbea6389da41eef91b5ef23cb0227ef1d1ceb64e4d7eac2e SHA512 baeb12725dd47b170e1ac94c23b2b18ba8aa11dedd95af7adee8fdf9ddebaddfca1ef75c30b1d65c94e1cfbcba2c41e0f4686f1a1de66beaba7dcd70ab190164 +DIST prometheus-cpp-1.0.1.tar.gz 56673 BLAKE2B 2f2396de0c3c544e92ecdf9f973941f7b61784db690bf3811841a522d3c40cb885e273ce62e66721674f8911fea7b58dc6ae5f0dc10cfdca803054445ca18250 SHA512 eb81b92de986853401f8900d19dfc58d68227d49c74be294b408adc0374292fb462b1f7f7aee522fb03d6fc2ea56f3187fa6ec182aeea169b8bdce38054ee805 EBUILD prometheus-cpp-1.0.0.ebuild 827 BLAKE2B db34157d5a96e09bac17e977bf16d678d7e6045baf521efb1270b246744d11bf563d4ee338669dadf09249f5bcf122835963d1118deeb74196b4f861346af611 SHA512 4f02623e6d3b1f2bc90b550cc40c9e424547b7afe7d6f72fe3fe1e0768b82ebe0d15171c07349e3d7bdefbbf29c38efbdf56ec74d8a4a6ec36dc007777d7bb4e +EBUILD prometheus-cpp-1.0.1.ebuild 827 BLAKE2B 8f3e24ea6980ca9cb40c0aa12d16e233090ac255c439ff1db0e747b17276a2c30a1e913bd9a2593b7fb1cf68d6d40eb01d6c25670cd4a5225d8f8998905949e9 SHA512 f9fcf730f91205c19194aed4979f63d03468f55e9f40b0522be4e1ab69fedbaea3276172d47980c34b7514c1884bfb1f494225355c87f6b54aa17abde2270636 MISC metadata.xml 826 BLAKE2B 309447cc55a501661cb9bfa636bc54f7ba6c2ee2aec545b5a1a38fbbeaf7180fdda0c768ff941844a1cb83ce9b5d89520a0a143e5e0f87b86f57ca8aea82bd2f SHA512 7e2fe05bc17e6b40fffe6b75849953ca8dd6970adb38d5e5fa38bd03f9aea38df14ddb675dee70b8930cca4a9ec3c01c2bdf4ed36f4db2c4d5e4152e13ed09f4 diff --git a/dev-cpp/prometheus-cpp/prometheus-cpp-1.0.1.ebuild b/dev-cpp/prometheus-cpp/prometheus-cpp-1.0.1.ebuild new file mode 100644 index 000000000000..6239a46b04df --- /dev/null +++ b/dev-cpp/prometheus-cpp/prometheus-cpp-1.0.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Prometheus Client Library for Modern C++" +HOMEPAGE="https://github.com/jupp0r/prometheus-cpp" +SRC_URI="https://github.com/jupp0r/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="test zlib" + +RESTRICT="!test? ( test )" + +RDEPEND="net-misc/curl + sys-libs/zlib + www-servers/civetweb[cxx]" +DEPEND="${RDEPEND} + test? ( + dev-cpp/benchmark + dev-cpp/gtest + )" +BDEPEND="virtual/pkgconfig" + +src_configure() { + local mycmakeargs=( + -DENABLE_PULL=yes + -DENABLE_PUSH=yes + -DENABLE_COMPRESSION=$(usex zlib) + -DENABLE_TESTING=$(usex test) + -DUSE_THIRDPARTY_LIBRARIES=OFF + -DGENERATE_PKGCONFIG=ON + -DRUN_IWYU=OFF + ) + + cmake_src_configure +} -- cgit v1.2.3