void-packages/srcpkgs/bloaty/template
2017-02-10 22:28:08 +01:00

20 lines
633 B
Bash

# 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
}