You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
937 B

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=libsigar
  3. PKG_SOURCE_DATE:=2017-02-21
  4. PKG_SOURCE_VERSION:=a6c61edf8c64e013411e8c9d753165cd03102c6e
  5. PKG_RELEASE:=3
  6. PKG_SOURCE_PROTO:=git
  7. PKG_SOURCE_URL:=https://github.com/boundary/sigar
  8. PKG_MIRROR_HASH:=5f017e10ab1d929c9dfb2937fef16a45962b60958cd1569573d18f00fcea290f
  9. PKG_MAINTAINER:=Amol Bhave <ambhave@fb.com>
  10. PKG_LICENSE:=Apache-2.0
  11. PKG_LICENSE_FILE:=LICENSE
  12. include $(INCLUDE_DIR)/package.mk
  13. include $(INCLUDE_DIR)/cmake.mk
  14. PKG_BUILD_PARALLEL:=1
  15. CMAKE_INSTALL:=1
  16. define Package/libsigar
  17. SECTION:=libs
  18. CATEGORY:=Libraries
  19. TITLE:=System Information Gatherer And Reporter
  20. URL:=https://github.com/boundary/sigar
  21. DEPENDS:=+libtirpc
  22. endef
  23. define Package/libsigar/description
  24. System Information Gatherer And Reporter
  25. endef
  26. define Package/libsigar/install
  27. $(INSTALL_DIR) $(1)/usr/lib
  28. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsigar.so* $(1)/usr/lib/
  29. endef
  30. $(eval $(call BuildPackage,libsigar))