From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 962E059CA3 for ; Tue, 15 Mar 2016 07:17:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9579321C001; Tue, 15 Mar 2016 07:17:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3343021C001 for ; Tue, 15 Mar 2016 07:17:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F010D340A42 for ; Tue, 15 Mar 2016 07:17:32 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0A77084F for ; Tue, 15 Mar 2016 07:17:30 +0000 (UTC) From: "Ian Delaney" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ian Delaney" Message-ID: <1458026237.93dbc90dcb2df0d6632e93d78eade3f1da127856.idella4@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/librdkafka/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/librdkafka/Manifest dev-libs/librdkafka/librdkafka-0.9.0.99.ebuild dev-libs/librdkafka/metadata.xml X-VCS-Directories: dev-libs/librdkafka/ X-VCS-Committer: idella4 X-VCS-Committer-Name: Ian Delaney X-VCS-Revision: 93dbc90dcb2df0d6632e93d78eade3f1da127856 X-VCS-Branch: master Date: Tue, 15 Mar 2016 07:17:30 +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-Archives-Salt: b15d5a10-2969-4470-b0d4-0bb747f00466 X-Archives-Hash: 269e858835d2a126445462a5292b8340 commit: 93dbc90dcb2df0d6632e93d78eade3f1da127856 Author: Thomas D whissi de> AuthorDate: Mon Mar 14 20:06:47 2016 +0000 Commit: Ian Delaney gentoo org> CommitDate: Tue Mar 15 07:17:17 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93dbc90d dev-libs/librdkafka: New package Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/1052 dev-libs/librdkafka/Manifest | 1 + dev-libs/librdkafka/librdkafka-0.9.0.99.ebuild | 68 ++++++++++++++++++++++++++ dev-libs/librdkafka/metadata.xml | 16 ++++++ 3 files changed, 85 insertions(+) diff --git a/dev-libs/librdkafka/Manifest b/dev-libs/librdkafka/Manifest new file mode 100644 index 0000000..cec1326 --- /dev/null +++ b/dev-libs/librdkafka/Manifest @@ -0,0 +1 @@ +DIST librdkafka-0.9.0.99.tar.gz 432559 SHA256 5af65838419a1e1069e486a233575df6067fec7c5756f59c56e517b5287041f6 SHA512 2dc7442a6067a26f98105d4a2fe6eed0dcd73866cc3f57fbbe83ade03a2aa03f8a082bbf9c8860d57d81b9b4a48ef78afa55354e473f461c03e4c8c560ffdb7b WHIRLPOOL ea0714fed991f7d05bbc15b8d35993b06ad37e7fa94b8866da44b35fe38185f09c8817169ad0c5fb599c5482178375ffbf1f722e99bd01358cf4ffd0f7266935 diff --git a/dev-libs/librdkafka/librdkafka-0.9.0.99.ebuild b/dev-libs/librdkafka/librdkafka-0.9.0.99.ebuild new file mode 100644 index 0000000..46e5e47 --- /dev/null +++ b/dev-libs/librdkafka/librdkafka-0.9.0.99.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="Apache Kafka C/C++ client library" +HOMEPAGE="https://github.com/edenhill/librdkafka" + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI=" + git://github.com/edenhill/${PN}.git + https://github.com/edenhill/${PN}.git + " + + inherit git-r3 +else + SRC_URI="https://github.com/edenhill/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="BSD-2" + +# subslot = soname version +SLOT="0/1" + +IUSE="sasl ssl static-libs" + +RDEPEND=" + sasl? ( dev-libs/cyrus-sasl:= ) + ssl? ( dev-libs/openssl:0= ) + sys-libs/zlib +" + +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +src_configure() { + local myeconf=( + --no-cache + --no-download + $(use_enable sasl) + $(usex static-libs '--enable-static' '') + $(use_enable ssl) + ) + + econf ${myeconf[@]} +} + +src_test() { + emake -C tests run_local +} + +src_install() { + local DOCS=( + README.md + CONFIGURATION.md + INTRODUCTION.md + ) + + default + + if ! use static-libs; then + find "${ED}"usr/lib* -name '*.la' -o -name '*.a' -delete || die + fi +} diff --git a/dev-libs/librdkafka/metadata.xml b/dev-libs/librdkafka/metadata.xml new file mode 100644 index 0000000..a309652 --- /dev/null +++ b/dev-libs/librdkafka/metadata.xml @@ -0,0 +1,16 @@ + + + + + whissi@whissi.de + Thomas D. (Whissi) + + + proxy-maint@gentoo.org + Proxy Maintainers + + + https://github.com/edenhill/librdkafka/issues + edenhill/librdkafka + +