bloaty: update to 1.0.

This commit is contained in:
Leah Neukirchen 2018-08-08 12:44:55 +02:00
parent f43430b02d
commit beee452d98

View file

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