2 # Copyright (C) 2013 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_MD5SUM
:=2032e66f3438949c51ec9922c6f8542b
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/lttng-ust
27 DEPENDS
:=+liburcu
+libuuid
+librt
28 TITLE
:=LTTng Userspace Tracing Library
29 URL
:=https
://lttng.org
/
32 define Package
/lttng-ust
/description
33 LTTng Userspace Tracing Library
36 define Build
/InstallDev
37 $(INSTALL_DIR
) $(1)/usr
/include
38 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/lttng
* $(1)/usr
/include/
39 $(INSTALL_DIR
) $(1)/usr
/lib
40 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/liblttng-ust
*.
{a
,so
*} $(1)/usr
/lib
/
43 define Package
/lttng-ust
/install
44 $(INSTALL_DIR
) $(1)/usr
/lib
45 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/liblttng-ust
*.so.
* $(1)/usr
/lib
/
48 $(eval
$(call BuildPackage
,lttng-ust
))