# Contributor: Michael Jeanson # Maintainer: Michael Jeanson pkgname=babeltrace pkgver=1.5.5 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="565a34bad642358286d14b77dba190ec7182992d94f626925e7b02667ddfbd705d0571375f36e1691fef159a0ca5f8422b35e453028cd96d02fbdb2a9d8412a3 babeltrace-1.5.5.tar.bz2"