aboutsummaryrefslogtreecommitdiffstats
path: root/testing/babeltrace/APKBUILD
blob: 1f3322aa7cfa03fba04fcabdacc23b79d01a8bc0 (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
# Contributor: Michael Jeanson <mjeanson@efficios.com>
# Maintainer: Michael Jeanson <mjeanson@efficios.com>
pkgname=babeltrace
pkgver=1.5.7
pkgrel=0
pkgdesc="Trace converter and read/write library"
url="https://www.efficios.com/babeltrace"
arch="all"
license="MIT"
depends_dev="glib-dev"
makedepends="$depends_dev popt-dev util-linux-dev bash perl"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.efficios.com/files/babeltrace/babeltrace-$pkgver.tar.bz2"

build() {
	# 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() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="1cab84b63fd0935574cca8d4c70302a917776e83e738e73aa3ce4070c6d3279556ab665285c932d1b2159115a58cade7cfa9b0416b4a2807e1ce11bb9c7ea8cb  babeltrace-1.5.7.tar.bz2"