void-packages/srcpkgs/babeltrace/template

30 lines
853 B
Bash
Raw Normal View History

2017-08-30 21:23:11 +02:00
# template file for 'babeltrace'
pkgname=babeltrace
version=1.5.4
2017-08-30 21:23:11 +02:00
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
2017-08-30 21:23:11 +02:00
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
}
}