diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-util/bloaty |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/bloaty')
-rw-r--r-- | dev-util/bloaty/Manifest | 3 | ||||
-rw-r--r-- | dev-util/bloaty/bloaty-0_p20170420.ebuild | 38 | ||||
-rw-r--r-- | dev-util/bloaty/metadata.xml | 8 |
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-util/bloaty/Manifest b/dev-util/bloaty/Manifest new file mode 100644 index 000000000000..4cb8737fa537 --- /dev/null +++ b/dev-util/bloaty/Manifest @@ -0,0 +1,3 @@ +DIST bloaty-0_p20170420.tar.gz 3100016 SHA256 b317b0725e485d285c83c2a65a2fbdd125dd6fd92f8d3b504ec235f3d39fd46e SHA512 93947fd0c49c3223c1ec216c88fe22b24e68654511d4b9d4fb2bcbc816b92bbdaf47344abc1dc8f80ed0b38a8c8b09909f862f916fd9182048235582aa10feb0 WHIRLPOOL dcdf174fbb4235653cf0210c0345ca0aa4b9b2ca7eb77d0ccaaa13a58c4b88581ad2da9308aec5fb5b6f6cae3c271885971466e8cb875c8b597f748e16857998 +EBUILD bloaty-0_p20170420.ebuild 771 SHA256 bd104fd15f7e1d68b6a2178a398db9d4251450a73c6f571419d40df5e684bf4a SHA512 bb7c2e8461920737f157df3dfeadb8e8bcce290c23c88862e5870b36ebd1f6a568779117302dae9446f9343ba667f264738e120a047ed023cbe81e4ec855cac8 WHIRLPOOL a3862d11f698f11496b7826f035689e8be0c6a2e217e03a41b879c327426c4598df136a91dc490ea40ea89e056edd96143eb31b6c1e85b56472256ccb65360bd +MISC metadata.xml 245 SHA256 49f38381542f76551c4790c49cf186e89be07bed2555b81190e4feda42a09c12 SHA512 1e3616356c21ccb0027e00a1cda28ca8a90b05a1f5ef89c11ffb44033365216ab541dafcbff7b728b5ab852a4db539cdf5db54865b69c4d9c250233d43e70702 WHIRLPOOL 6a084ef8e9c6bab262a510e0be4357bda7d2a635dbb4262802d491c12a571c6d953f56edb609b7559bd6febbc46dcaa690ceeeb8197f6fa3a83d4ea9fab48903 diff --git a/dev-util/bloaty/bloaty-0_p20170420.ebuild b/dev-util/bloaty/bloaty-0_p20170420.ebuild new file mode 100644 index 000000000000..e26da812ab42 --- /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 +} diff --git a/dev-util/bloaty/metadata.xml b/dev-util/bloaty/metadata.xml new file mode 100644 index 000000000000..146d5f454ee7 --- /dev/null +++ b/dev-util/bloaty/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="github">google/bloaty</remote-id> + </upstream> +</pkgmetadata> |