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 CEA05139694 for ; Tue, 6 Jun 2017 22:09:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1F42021C043; Tue, 6 Jun 2017 22:09: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 EE85F21C043 for ; Tue, 6 Jun 2017 22:09:33 +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 213BA341A61 for ; Tue, 6 Jun 2017 22:09:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 81C31746F for ; Tue, 6 Jun 2017 22:09:31 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1496786932.77c8552e1c1d23172123080b8c9331cd81106c55.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/bloaty/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/bloaty/Manifest dev-util/bloaty/bloaty-0_p20170420.ebuild X-VCS-Directories: dev-util/bloaty/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 77c8552e1c1d23172123080b8c9331cd81106c55 X-VCS-Branch: master Date: Tue, 6 Jun 2017 22:09:31 +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: 34ffad5e-8a4a-49f4-9d9e-a186e28e8754 X-Archives-Hash: b1c4f5aac68b122b85334fade1805254 commit: 77c8552e1c1d23172123080b8c9331cd81106c55 Author: Manuel Rüger gentoo org> AuthorDate: Tue Jun 6 22:08:52 2017 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Tue Jun 6 22:08:52 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77c8552e dev-util/bloaty: Update snapshot Gentoo-Bug: #621046 Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-util/bloaty/Manifest | 1 + dev-util/bloaty/bloaty-0_p20170420.ebuild | 38 +++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-util/bloaty/Manifest b/dev-util/bloaty/Manifest index ea161db0752..ab2a0612cff 100644 --- a/dev-util/bloaty/Manifest +++ b/dev-util/bloaty/Manifest @@ -1 +1,2 @@ DIST bloaty-0_p20170321.tar.gz 3100291 SHA256 0873e2abe0cf3dbb1fd47c97dfa9d0b47bf4b2627647b60325240a08f2ff0acc SHA512 9c784524e60e646b7af81fb48eb1d2b2cb9c7239a22d970c93dd9f28f932f66c16974dc18e4aa9edd96adbc26c17d0fd2160d469bacf8e82539e1b5c5a63077e WHIRLPOOL a15aa28d8d49d1e67d961a2db01d691f91474bee1703462eddeb41e2cb87a49c4a184c318a1b94d765b54bb5b3e92281f3eed23a44a2378ada19eceeadd36cb2 +DIST bloaty-0_p20170420.tar.gz 3100016 SHA256 b317b0725e485d285c83c2a65a2fbdd125dd6fd92f8d3b504ec235f3d39fd46e SHA512 93947fd0c49c3223c1ec216c88fe22b24e68654511d4b9d4fb2bcbc816b92bbdaf47344abc1dc8f80ed0b38a8c8b09909f862f916fd9182048235582aa10feb0 WHIRLPOOL dcdf174fbb4235653cf0210c0345ca0aa4b9b2ca7eb77d0ccaaa13a58c4b88581ad2da9308aec5fb5b6f6cae3c271885971466e8cb875c8b597f748e16857998 diff --git a/dev-util/bloaty/bloaty-0_p20170420.ebuild b/dev-util/bloaty/bloaty-0_p20170420.ebuild new file mode 100644 index 00000000000..e26da812ab4 --- /dev/null +++ b/dev-util/bloaty/bloaty-0_p20170420.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit vcs-snapshot toolchain-funcs + +COMMIT="73594cde8c9a52a102c4341c244c833aa61b9c06" + +DESCRIPTION="A size profiler for binaries" +HOMEPAGE="https://github.com/google/bloaty" +SRC_URI="https://github.com/google/bloaty/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=">=dev-libs/re2-0.2017.03.01" +RDEPEND="${DEPEND}" + +src_prepare() { + default + sed -i -e "s#\$(RE2_[AH])##"\ + -e "s#\tar #\t$(tc-getAR) #"\ + -e "s#-lpthread#-lre2 -lpthread#"\ + -e "/^CXXFLAGS/ s#-I third_party/re2##"\ + Makefile || die +} + +src_compile() { + CXX=$(tc-getCXX) emake +} + +src_install() { + dobin ${PN} + dodoc README.md +}