aircrack-ng: moved to github
[openwrt/svn-archive/archive.git] / libs / lttng-ust / Makefile
1 #
2 # Copyright (C) 2013 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=lttng-ust
11 PKG_VERSION:=2.1.0
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=https://lttng.org/files/$(PKG_NAME)
16 PKG_MD5SUM:=2032e66f3438949c51ec9922c6f8542b
17
18 PKG_BUILD_PARALLEL:=1
19 PKG_USE_MIPS16:=0
20 PKG_INSTALL:=1
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/lttng-ust
25 SECTION:=libs
26 CATEGORY:=Libraries
27 DEPENDS:=+liburcu +libuuid +librt
28 TITLE:=LTTng Userspace Tracing Library
29 URL:=https://lttng.org/
30 endef
31
32 define Package/lttng-ust/description
33 LTTng Userspace Tracing Library
34 endef
35
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/
41 endef
42
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/
46 endef
47
48 $(eval $(call BuildPackage,lttng-ust))