summaryrefslogtreecommitdiff
path: root/package/lttng-tools
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-06-28 14:03:36 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-06-28 14:19:46 +0200
commit6bf0b58a0e7dc0ed8781103a42886958a3045504 (patch)
treeeadb52460487cb3102afa76705b7aa337084472c /package/lttng-tools
parentc441fd1e49c1fa3bf210b89b30c0de270e44fdcf (diff)
lttng-tools: add new package including dependency
Diffstat (limited to 'package/lttng-tools')
-rw-r--r--package/lttng-tools/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/lttng-tools/Makefile b/package/lttng-tools/Makefile
new file mode 100644
index 000000000..f3505fe55
--- /dev/null
+++ b/package/lttng-tools/Makefile
@@ -0,0 +1,33 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= lttng-tools
+PKG_VERSION:= 2.9.5
+PKG_RELEASE:= 1
+PKG_HASH:= 77839eb6fc6c652125f08acfd9369701c2516eb05cc2084160e7efc7a3fb731c
+PKG_DESCR:= open source tracing framework
+PKG_SECTION:= app/debug
+PKG_BUILDDEP:= popt libxml2 util-linux userspace-rcu ncurses
+PKG_DEPENDS:= libpopt libxml2 libuuid liburcu libncurses
+PKG_URL:= http://lttng.org/
+PKG_SITES:= http://lttng.org/files/lttng-tools/
+
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LTTNG_TOOLS,lttng-tools,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+
+CONFIGURE_ARGS+= --without-lttng-ust
+
+lttng-tools-install:
+ $(INSTALL_DIR) $(IDIR_LTTNG_TOOLS)/usr/bin
+ $(INSTALL_DIR) $(IDIR_LTTNG_TOOLS)/usr/lib
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/* \
+ $(IDIR_LTTNG_TOOLS)/usr/bin
+ $(CP) $(WRKINST)/usr/lib/*.so* \
+ $(IDIR_LTTNG_TOOLS)/usr/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk