aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuss Webber <russ@rw.id.au>2020-06-07 21:46:21 +1000
committerRasmus Thomsen <oss@cogitri.dev>2020-06-10 19:02:33 +0000
commitfcf5cf532d8abc19de847bd7076ef429f91abcae (patch)
tree8ce1f8be10fbcb12348a8d35c0b537fb99bd2cc6
parent71ce5bdf6b15aeb8e714f253747a40e8f6906d78 (diff)
downloadaports-fcf5cf532d8abc19de847bd7076ef429f91abcae.tar.gz
aports-fcf5cf532d8abc19de847bd7076ef429f91abcae.tar.bz2
aports-fcf5cf532d8abc19de847bd7076ef429f91abcae.tar.xz
main/lttng-ust: add python-agent
-rw-r--r--main/lttng-ust/APKBUILD20
1 files changed, 15 insertions, 5 deletions
diff --git a/main/lttng-ust/APKBUILD b/main/lttng-ust/APKBUILD
index cba9f3647c..43c8129a15 100644
--- a/main/lttng-ust/APKBUILD
+++ b/main/lttng-ust/APKBUILD
@@ -2,13 +2,14 @@
# Maintainer: Michael Jeanson <mjeanson@efficios.com>
pkgname=lttng-ust
pkgver=2.12.0
-pkgrel=1
+pkgrel=2
pkgdesc="LTTng 2.0 Userspace Tracer"
url="https://lttng.org"
arch="all"
license="LGPL-2.1-or-later"
-makedepends="userspace-rcu-dev>0.10 util-linux-dev linux-headers bash"
-subpackages="$pkgname-doc $pkgname-dev $pkgname-tools"
+makedepends="userspace-rcu-dev>0.10 util-linux-dev linux-headers python3"
+checkdepends="bash"
+subpackages="$pkgname-doc $pkgname-dev $pkgname-tools::noarch py3-lttng:pyagent"
source="https://lttng.org/files/lttng-ust/lttng-ust-$pkgver.tar.bz2"
build() {
@@ -17,8 +18,9 @@ build() {
--host=$CHOST \
--prefix=/usr \
--disable-static \
- --disable-numa
- make V=1
+ --disable-numa \
+ --enable-python-agent
+ make
}
check() {
@@ -38,4 +40,12 @@ tools() {
amove usr/bin
}
+pyagent() {
+ pkgdesc="lttng-ust python agent"
+ depends="python3"
+
+ amove /usr/lib/python*
+ amove /usr/lib/liblttng-ust-python-agent.*
+}
+
sha512sums="d69772170f57b9669b99cea372ca537777151a31b82002e1e5ec80da3ceb302c23f0f85d63a2c95c90a375b879e266aa5297e7d6444050dd40feb1253d863801 lttng-ust-2.12.0.tar.bz2"