mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
bloaty: update to 1.1.
This commit is contained in:
parent
aa7c1b4ee1
commit
14ed9e6677
1 changed files with 4 additions and 23 deletions
|
@ -1,35 +1,16 @@
|
||||||
# Template file for 'bloaty'
|
# Template file for 'bloaty'
|
||||||
pkgname=bloaty
|
pkgname=bloaty
|
||||||
version=1.0
|
version=1.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
build_helper=qemu
|
hostmakedepends="pkg-config protobuf"
|
||||||
makedepends="zlib-devel"
|
makedepends="capstone-devel protobuf-devel re2-devel zlib-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/releases/download/v${version}/bloaty-${version}.tar.bz2"
|
distfiles="https://github.com/google/bloaty/releases/download/v${version}/bloaty-${version}.tar.bz2"
|
||||||
checksum=e1cf9830ba6c455218fdb50e7a8554ff256da749878acfaf77c032140d7ddde0
|
checksum=a308d8369d5812aba45982e55e7c3db2ea4780b7496a5455792fb3dcba9abd6f
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
||||||
makedepends+=" libatomic-devel"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
|
||||||
hostmakedepends+=" protobuf"
|
|
||||||
fi
|
|
||||||
|
|
||||||
post_extract() {
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
ppc64*) ;;
|
|
||||||
armv6*|ppc*)
|
|
||||||
echo 'target_link_libraries(libprotobuf atomic)' >> \
|
|
||||||
third_party/protobuf/cmake/libprotobuf.cmake
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin build/bloaty
|
vbin build/bloaty
|
||||||
|
|
Loading…
Add table
Reference in a new issue