void-packages/srcpkgs/babeltrace/template
maxice8 2808750c7c babeltrace: update to 1.5.4.
Closes: #11295 [via git-merge-pr]
2018-03-05 21:00:11 -08:00

29 lines
853 B
Bash

# template file for 'babeltrace'
pkgname=babeltrace
version=1.5.4
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libelf glib-devel popt-devel"
short_desc="A trace format converter"
maintainer="Alexander Egorenkov <egorenar-dev@posteo.net>"
license="LGPL-2.1"
homepage="http://diamon.org/babeltrace"
distfiles="http://www.efficios.com/files/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=9643039923a0abc75a25b3d594cee0017423b57f10d2b625e96ed1e8d4891fc1
if [ "$CROSS_BUILD" ]; then
# configure_args+=" ac_cv_lib_elf_elf_version=0.170"
configure_args+=" --disable-debug-info"
fi
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
}
}