mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-util/bloaty: Initial version
Package-Manager: Portage-2.3.4, Repoman-2.3.2
This commit is contained in:
1
dev-util/bloaty/Manifest
Normal file
1
dev-util/bloaty/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST bloaty-0_p20170321.tar.gz 3100291 SHA256 0873e2abe0cf3dbb1fd47c97dfa9d0b47bf4b2627647b60325240a08f2ff0acc SHA512 9c784524e60e646b7af81fb48eb1d2b2cb9c7239a22d970c93dd9f28f932f66c16974dc18e4aa9edd96adbc26c17d0fd2160d469bacf8e82539e1b5c5a63077e WHIRLPOOL a15aa28d8d49d1e67d961a2db01d691f91474bee1703462eddeb41e2cb87a49c4a184c318a1b94d765b54bb5b3e92281f3eed23a44a2378ada19eceeadd36cb2
|
||||
38
dev-util/bloaty/bloaty-0_p20170321.ebuild
Normal file
38
dev-util/bloaty/bloaty-0_p20170321.ebuild
Normal file
@@ -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="8e2298492eb9c0c9c358f4e5173bbc147e8e0436"
|
||||
|
||||
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
|
||||
}
|
||||
13
dev-util/bloaty/metadata.xml
Normal file
13
dev-util/bloaty/metadata.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<longdescription>
|
||||
</longdescription>
|
||||
<maintainer type="person">
|
||||
<email>mrueg@gentoo.org</email>
|
||||
<name>Manuel Rüger</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">google/bloaty</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user