void-packages/srcpkgs/babeltrace/template

34 lines
942 B
Bash

# template file for 'babeltrace'
pkgname=babeltrace
version=1.5.6
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libelf glib-devel popt-devel"
short_desc="Open source trace format converter"
maintainer="Alexander Egorenkov <egorenar-dev@posteo.net>"
license="MIT, GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="http://diamon.org/babeltrace"
distfiles="https://www.efficios.com/files/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=5308bc217828dd571b3259f482a85533554064d4563906ff3c5774ecf915bbb7
if [ "$CROSS_BUILD" ]; then
# configure_args+=" ac_cv_lib_elf_elf_version=0.170"
configure_args+=" --disable-debug-info"
fi
post_install() {
vlicense mit-license.txt
}
babeltrace-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
vmove usr/lib/*.a
}
}