2017-08-30 21:23:11 +02:00
|
|
|
# template file for 'babeltrace'
|
|
|
|
pkgname=babeltrace
|
2018-07-05 02:46:25 +02:00
|
|
|
version=1.5.6
|
2017-08-30 21:23:11 +02:00
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libelf glib-devel popt-devel"
|
2018-07-05 02:46:25 +02:00
|
|
|
short_desc="Open source trace format converter"
|
2017-08-30 21:23:11 +02:00
|
|
|
maintainer="Alexander Egorenkov <egorenar-dev@posteo.net>"
|
2018-07-05 02:46:25 +02:00
|
|
|
license="MIT, GPL-2.0-or-later, LGPL-2.1-or-later"
|
2017-08-30 21:23:11 +02:00
|
|
|
homepage="http://diamon.org/babeltrace"
|
2018-07-05 02:46:25 +02:00
|
|
|
distfiles="https://www.efficios.com/files/${pkgname}/${pkgname}-${version}.tar.bz2"
|
|
|
|
checksum=5308bc217828dd571b3259f482a85533554064d4563906ff3c5774ecf915bbb7
|
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
|
|
|
|
|
2018-07-05 02:46:25 +02:00
|
|
|
post_install() {
|
|
|
|
vlicense mit-license.txt
|
|
|
|
}
|
|
|
|
|
2017-08-30 21:23:11 +02:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|