blob: 3d5d47c572358fc184476d868c7b6a6d304566b7 (
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
44
45
46
47
48
49
50
|
# Contributor: Michael Jeanson <mjeanson@efficios.com>
# Maintainer: Michael Jeanson <mjeanson@efficios.com>
pkgname=lttng-ust
pkgver=2.10.0
pkgrel=1
pkgdesc="LTTng 2.0 Userspace Tracer"
url="https://lttng.org"
arch="all"
license="LGPL2+"
depends=""
depends_dev=""
makedepends="$depends_dev userspace-rcu-dev util-linux-dev linux-headers bash"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://lttng.org/files/$pkgname/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-static \
|| return 1
make V=1 || return 1
make check || return 1
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
dev() {
default_dev
# Move back examples files that are wrongly included
# by the default dev splitfunc
cp -pr "$subpkgdir"/usr/share/doc/$pkgname \
"$pkgdir"/usr/share/doc/
rm -rf "$subpkgdir"/usr/share/doc/$pkgname
}
sha512sums="a1661681d09b08ce4ca25dfad6c42c51a1a82f1647ddb9560b8b369f2ff16b7e07618554e1c81941da6f8d50cec2501611f7f3e89bbafccdfc984434f47ff397 lttng-ust-2.10.0.tar.bz2"
|