diff options
author | Adeel <adeelbm@outlook.com> | 2017-09-20 14:05:31 +0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-28 10:50:26 +0000 |
commit | e054993e48771ae76c29ddef2f2452753618614a (patch) | |
tree | f03a8be6010e912ec1834df56c892fdb0bec2bc9 /main/lttng-ust/APKBUILD | |
parent | 0f820f1719b54529d4251328a4db91cd50c8e309 (diff) | |
download | aports-e054993e48771ae76c29ddef2f2452753618614a.tar.bz2 aports-e054993e48771ae76c29ddef2f2452753618614a.tar.xz |
testing/lttng-ust: move to main
Diffstat (limited to 'main/lttng-ust/APKBUILD')
-rw-r--r-- | main/lttng-ust/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/main/lttng-ust/APKBUILD b/main/lttng-ust/APKBUILD new file mode 100644 index 0000000000..baceb31dbd --- /dev/null +++ b/main/lttng-ust/APKBUILD @@ -0,0 +1,37 @@ +# 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+" +makedepends="userspace-rcu-dev>0.10 util-linux-dev linux-headers bash" +install="" +subpackages="$pkgname-doc $pkgname-dev" +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 + make V=1 +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="a1661681d09b08ce4ca25dfad6c42c51a1a82f1647ddb9560b8b369f2ff16b7e07618554e1c81941da6f8d50cec2501611f7f3e89bbafccdfc984434f47ff397 lttng-ust-2.10.0.tar.bz2" |