blob: df418a81b6b76645a305f44fcb14d1b3db35a115 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Contributor: Michael Jeanson <mjeanson@efficios.com>
# Maintainer: Michael Jeanson <mjeanson@efficios.com>
pkgname=babeltrace
pkgver=1.5.1
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 \
|| return 1
make V=1 || return 1
[ "$CARCH" = "aarch64" ] || make check || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
md5sums="3f7d29ba2821a966d24759a928a15cdf babeltrace-1.5.1.tar.bz2"
sha256sums="379e96f1cf867f0a198cf1c315c52ec7d7ad67898402bbe22d1404fc38d19d98 babeltrace-1.5.1.tar.bz2"
sha512sums="c9b7786b7389761a2a93070778fee43e599681316e10ace7358642b90ca9a35b7204ed78bb3b31f71e37bc3fc17886e698d5d957a60b26e66c3778700d9c287a babeltrace-1.5.1.tar.bz2"
|