ksymoops: remove package, it has been obsolete and useless for a long time
[openwrt.org/packages.git] / libs / Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#
# Copyright (C) 2013 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
 
include $(TOPDIR)/rules.mk
 
PKG_NAME:=lttng-ust
PKG_VERSION:=2.1.0
PKG_RELEASE:=1
 
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://lttng.org/files/$(PKG_NAME)
PKG_MD5SUM:=2032e66f3438949c51ec9922c6f8542b
 
PKG_BUILD_PARALLEL:=1
PKG_USE_MIPS16:=0
PKG_INSTALL:=1
 
include $(INCLUDE_DIR)/package.mk
 
define Package/lttng-ust
  SECTION:=libs
  CATEGORY:=Libraries
  DEPENDS:=+liburcu +libuuid +librt
  TITLE:=LTTng Userspace Tracing Library
  URL:=https://lttng.org/
endef
 
define Package/lttng-ust/description
   LTTng Userspace Tracing Library
endef
 
define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include
        $(CP) $(PKG_INSTALL_DIR)/usr/include/lttng* $(1)/usr/include/
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblttng-ust*.{a,so*} $(1)/usr/lib/
endef
 
define Package/lttng-ust/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblttng-ust*.so.* $(1)/usr/lib/
endef
 
$(eval $(call BuildPackage,lttng-ust))
 
comments