bloaty: update to 1.0.

This commit is contained in:
Leah Neukirchen 2018-08-08 12:44:55 +02:00
parent f43430b02d
commit beee452d98
1 changed files with 8 additions and 11 deletions

View File

@ -1,20 +1,17 @@
# Template file for 'bloaty'
pkgname=bloaty
version=0.0.20161228
revision=2
_githash=2234386bcee7297dfa1b6d8a5d20f95ea4ed9bb0
wrksrc="${pkgname}-${_githash}"
makedepends="re2-devel"
version=1.0
revision=1
build_style=cmake
makedepends="zlib-devel"
# vendored: capstone protobuf re2
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
distfiles="https://github.com/google/bloaty/releases/download/v${version}/bloaty-${version}.tar.bz2"
checksum=e1cf9830ba6c455218fdb50e7a8554ff256da749878acfaf77c032140d7ddde0
do_build() {
${CXX} ${CXXFLAGS} -include byteswap.h -I. -o bloaty src/*.cc ${LDFLAGS} -lre2
}
do_install() {
vbin bloaty
vbin build/bloaty
}