diff options
author | Michael Jeanson <mjeanson@efficios.com> | 2016-06-13 11:51:17 -0500 |
---|---|---|
committer | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2016-06-14 08:29:15 +0200 |
commit | 14e508da2958f56fcc67f1cc3b7dc55623712924 (patch) | |
tree | 8e4d169161420b7dbfb0a18e210a62b9b8c3f69a /testing/babeltrace | |
parent | 82aedbd8f83cea529a99c7e999770c5449f080a0 (diff) | |
download | aports-14e508da2958f56fcc67f1cc3b7dc55623712924.tar.bz2 aports-14e508da2958f56fcc67f1cc3b7dc55623712924.tar.xz |
testing/babeltrace: new aport
https://www.efficios.com/babeltrace
a trace converter and read/write library
Diffstat (limited to 'testing/babeltrace')
-rw-r--r-- | testing/babeltrace/APKBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/babeltrace/APKBUILD b/testing/babeltrace/APKBUILD new file mode 100644 index 0000000000..66ac85f43d --- /dev/null +++ b/testing/babeltrace/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Michael Jeanson <mjeanson@efficios.com> +# Maintainer: Michael Jeanson <mjeanson@efficios.com> +pkgname=babeltrace +pkgver=1.4.0 +pkgrel=0 +pkgdesc="a trace converter and read/write library" +url="https://www.efficios.com/babeltrace" +arch="all" +license="MIT" +depends="" +depends_dev="glib-dev" +makedepends="$depends_dev popt-dev util-linux-dev bash perl" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="https://www.efficios.com/files/$pkgname/$pkgname-$pkgver.tar.bz2" + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure \ + --prefix=/usr \ + --disable-debug-info \ + || return 1 + make || return 1 + make check || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +md5sums="fa99064048af5c9c6ff00e489ac809c2 babeltrace-1.4.0.tar.bz2" +sha256sums="9469eeb22617cd12668683b04c27003e5337e9ac66ade914988df3642fc0d0e4 babeltrace-1.4.0.tar.bz2" +sha512sums="963e190ed532c67a2a130a717aa2397d96fd1bba8d4c579a5a751f3454f8cc472d5ac8d2439b03cb817add0a0cd7cc83e55f459915741c30544cf101e5209801 babeltrace-1.4.0.tar.bz2" |