diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-20 09:21:58 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-20 09:21:58 +0000 |
commit | c414927dc363f6d84ee20d51242c615aaf7b74d2 (patch) | |
tree | 0644a5b83f1e422973933133c17f1613d47c5c1d /testing | |
parent | 90153903d9f07fd3dff9262af8d307ffa20673fe (diff) | |
download | aports-c414927dc363f6d84ee20d51242c615aaf7b74d2.tar.bz2 aports-c414927dc363f6d84ee20d51242c615aaf7b74d2.tar.xz |
testing/lttng-ust: modernize, fix versioned deps and cleanup
Diffstat (limited to 'testing')
-rw-r--r-- | testing/lttng-ust/APKBUILD | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/testing/lttng-ust/APKBUILD b/testing/lttng-ust/APKBUILD index 3d5d47c572..baceb31dbd 100644 --- a/testing/lttng-ust/APKBUILD +++ b/testing/lttng-ust/APKBUILD @@ -7,11 +7,9 @@ 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" +makedepends="userspace-rcu-dev>0.10 util-linux-dev linux-headers bash" install="" -subpackages="$pkgname-dev $pkgname-doc" +subpackages="$pkgname-doc $pkgname-dev" source="https://lttng.org/files/$pkgname/$pkgname-$pkgver.tar.bz2" builddir="$srcdir"/$pkgname-$pkgver @@ -22,29 +20,18 @@ build() { --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ - --disable-static \ - || return 1 - make V=1 || return 1 - make check || return 1 + --disable-static + make V=1 } check() { - cd "$builddir" - make 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 + make DESTDIR="$pkgdir" install } sha512sums="a1661681d09b08ce4ca25dfad6c42c51a1a82f1647ddb9560b8b369f2ff16b7e07618554e1c81941da6f8d50cec2501611f7f3e89bbafccdfc984434f47ff397 lttng-ust-2.10.0.tar.bz2" |