2 # Copyright (C) 2013-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=https
://lttng.org
/files
/$(PKG_NAME
)/
16 PKG_HASH
:=1983edb525f3f27e3494088d8d5389b4c71af66bbfe63c6f1df2ad95aa44a528
19 PKG_LICENSE
:=LGPL-2.1 GPL-2.0
20 PKG_LICENSE_FILES
:=COPYING
21 PKG_CPE_ID
:=cpe
:/a
:lttng
:ust
27 include $(INCLUDE_DIR
)/package.mk
29 define Package
/lttng-ust
32 TITLE
:=Linux Trace Toolkit
: next generation
(library
)
33 URL
:=https
://lttng.org
/
34 DEPENDS
:= +liburcu
+libuuid
+librt
39 --disable-python-agent \
44 define Build
/InstallDev
45 $(INSTALL_DIR
) $(1)/usr
/include
46 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/lttng
$(1)/usr
/include/
47 $(INSTALL_DIR
) $(1)/usr
/lib
48 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/liblttng-ust
*.so
* $(1)/usr
/lib
/
49 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
50 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/lttng-ust
* $(1)/usr
/lib
/pkgconfig
/
53 define Package
/lttng-ust
/install
54 $(INSTALL_DIR
) $(1)/usr
/lib
55 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/liblttng
*.so.
* $(1)/usr
/lib
/
58 $(eval
$(call BuildPackage
,lttng-ust
))