New package: bloaty-0.0.20161228

This commit is contained in:
Leah Neukirchen 2017-02-10 22:26:03 +01:00
parent e0fda99a21
commit 6796594aea

20
srcpkgs/bloaty/template Normal file
View file

@ -0,0 +1,20 @@
# Template file for 'bloaty'
pkgname=bloaty
version=0.0.20161228
revision=1
_githash=2234386bcee7297dfa1b6d8a5d20f95ea4ed9bb0
wrksrc="${pkgname}-${_githash}"
makedepends="re2-devel"
short_desc="Bloaty McBloatface: a size profiler for binaries"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Apache-2.0"
homepage="https://github.com/google/bloaty"
distfiles="https://github.com/google/bloaty/archive/${_githash}.tar.gz"
checksum=ae2bff1eafb8a4c788feb035bba0b46596b17cded53419fa1ca5c1fb61402646
do_build() {
${CXX} ${CXXFLAGS} -include byteswap.h -I. -o bloaty src/*.cc ${LDFLAGS} -lre2
}
do_install() {
vbin bloaty
}