34 lines
942 B
Bash
34 lines
942 B
Bash
# Template file for 'babeltrace'
|
|
pkgname=babeltrace
|
|
version=1.5.7
|
|
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=215331e025ffd39c665a34231b9429180e48aca78f79fb972d0bf1322d2b807b
|
|
|
|
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
|
|
}
|
|
}
|