# Contributor: Michael Jeanson # Maintainer: Michael Jeanson pkgname=babeltrace pkgver=1.5.4 pkgrel=0 pkgdesc="a 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 install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } sha512sums="eec10d869c948ce6fb901d95ac8efeabe3c02f294169fe5f7c4def4b76ab4c41d9d7b10b4e8f1225c90eb665cb154abf1f52cbdce572bb1476810cab8cf4cb8d babeltrace-1.5.4.tar.bz2"