void-packages/srcpkgs/babeltrace/template

30 lines
853 B
Bash

# template file for 'babeltrace'
pkgname=babeltrace
version=1.5.3
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=2249fee5beba657731f5d6a84c5296c6517f544bfbe7571bd1fd7af23726137c
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
}
}