From 6796594aea2ce87e97c92809bd79792b0b01c96c Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Fri, 10 Feb 2017 22:26:03 +0100 Subject: [PATCH] New package: bloaty-0.0.20161228 --- srcpkgs/bloaty/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/bloaty/template diff --git a/srcpkgs/bloaty/template b/srcpkgs/bloaty/template new file mode 100644 index 00000000000..511e2dd593b --- /dev/null +++ b/srcpkgs/bloaty/template @@ -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 " +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 +}