X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail.efficios.com (mail.efficios.com [78.47.125.74]) by lists.alpinelinux.org (Postfix) with ESMTP id C9C5E5C40AE for ; Thu, 26 May 2016 16:56:28 +0000 (GMT) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 9443E340382 for ; Thu, 26 May 2016 16:56:27 +0000 (UTC) Received: from mail.efficios.com ([127.0.0.1]) by localhost (evm-mail-1.efficios.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 1D5qWyiG_l4E; Thu, 26 May 2016 16:56:26 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id D9635340367; Thu, 26 May 2016 16:56:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at efficios.com Received: from mail.efficios.com ([127.0.0.1]) by localhost (evm-mail-1.efficios.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id IkoGdPdzB3lm; Thu, 26 May 2016 16:56:26 +0000 (UTC) Received: from alpine.my.domain (cable-192.222.213.99.electronicbox.net [192.222.213.99]) by mail.efficios.com (Postfix) with ESMTPSA id 18B463401AC; Thu, 26 May 2016 16:56:25 +0000 (UTC) From: Michael Jeanson To: alpine-aports@lists.alpinelinux.org Cc: Michael Jeanson Subject: [alpine-aports] [PATCH] testing/babeltrace: new aport Date: Thu, 26 May 2016 11:56:16 -0500 Message-Id: <1464281776-32498-1-git-send-email-mjeanson@efficios.com> X-Mailer: git-send-email 2.6.6 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: https://www.efficios.com/babeltrace a trace converter and read/write library --- testing/babeltrace/APKBUILD | 50 ++++++++++++++++++++++ .../babeltrace/add-sys-param-h-for-maxnamlen.patch | 10 +++++ 2 files changed, 60 insertions(+) create mode 100644 testing/babeltrace/APKBUILD create mode 100644 testing/babeltrace/add-sys-param-h-for-maxnamlen.patch diff --git a/testing/babeltrace/APKBUILD b/testing/babeltrace/APKBUILD new file mode 100644 index 0000000..ea81939 --- /dev/null +++ b/testing/babeltrace/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: Michael Jeanson +# Maintainer: Michael Jeanson +pkgname=babeltrace +pkgver=1.3.2 +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 + add-sys-param-h-for-maxnamlen.patch" + +_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 \ + || 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="db01b68d4ccf5648fd754d0166942685 babeltrace-1.3.2.tar.bz2 +4c007de33fd8f1ee9004bc8c0bda204d add-sys-param-h-for-maxnamlen.patch" +sha256sums="d22d77be79f30fd0769a093b8b5a336ea0d45486ab429358ac5deaced00feb23 babeltrace-1.3.2.tar.bz2 +42b609e44dceae72b324d4954f0e607b49668b2734e835194ed74f1360e3e94d add-sys-param-h-for-maxnamlen.patch" +sha512sums="3195e3a888f8c20016f5a564bc9468aea8d637c10b486d4858a3c3fcaf0098014fcf94d9b8e29b9f1a7dec8b97dd0c58b6bc1d7e8a76eb12bc923ed5ed7066b3 babeltrace-1.3.2.tar.bz2 +701979e2020c83379aea2dbfa11e1a90268c497001854ad052f9e11ae3db4cbee37df279993cfa02a0d68261fe47cf70c4337f1ef5df71d62dfd78473c845305 add-sys-param-h-for-maxnamlen.patch" diff --git a/testing/babeltrace/add-sys-param-h-for-maxnamlen.patch b/testing/babeltrace/add-sys-param-h-for-maxnamlen.patch new file mode 100644 index 0000000..aac67e9 --- /dev/null +++ b/testing/babeltrace/add-sys-param-h-for-maxnamlen.patch @@ -0,0 +1,10 @@ +--- babeltrace-1.3.2.orig/formats/lttng-live/lttng-live.h ++++ babeltrace-1.3.2/formats/lttng-live/lttng-live.h +@@ -25,6 +25,7 @@ + */ + + #include ++#include + #include "lttng-viewer-abi.h" + + #define LTTNG_DEFAULT_NETWORK_VIEWER_PORT 5344 -- 2.6.6 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---