# Contributor: Michael Jeanson # Maintainer: Michael Jeanson pkgname=babeltrace pkgver=1.5.6 pkgrel=0 pkgdesc="Trace converter and read/write library" url="https://www.efficios.com/babeltrace" arch="all" license="MIT" depends="" depends_dev="glib-dev" makedepends="$depends_dev popt-dev util-linux-dev bash perl" install="" subpackages="$pkgname-dev $pkgname-doc" source="https://www.efficios.com/files/$pkgname/$pkgname-$pkgver.tar.bz2" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" # This package uses _init functions to initialise extensions. With # --as-needed this will not work. export LDFLAGS="$LDFLAGS -Wl,--no-as-needed" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-static \ --disable-debug-info make V=1 } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="c69f56449ca64751a2b031dec9ae49d207030970beb18fbfda56678b335602a6fb3c60fb05f4e8ac3e1a31cf69ec4bb7c1ceb47db1b94df241300223b3daf6a4 babeltrace-1.5.6.tar.bz2"