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.

44 lines
1.3 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=eventlog
  3. PKG_VERSION:=0.2.12
  4. PKG_RELEASE:=2
  5. PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
  6. PKG_SOURCE_URL:=https://my.balabit.com/downloads/eventlog/0.2/
  7. PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
  8. PKG_HASH:=494dac8e01dc5ce323df2ad554d94874938dab51aa025987677b2bc6906a9c66
  9. PKG_FIXUP:=autoreconf
  10. PKG_INSTALL:=1
  11. include $(INCLUDE_DIR)/package.mk
  12. define Package/libeventlog
  13. SECTION:=libs
  14. CATEGORY:=Libraries
  15. TITLE:=A new API to format and send structured log messages.
  16. endef
  17. define Package/eventlog/description
  18. A new API to format and send structured log messages. It supports multiple message
  19. representations (plain, XML attributes and XML tags) and multiple output methods
  20. (local syslogd).
  21. endef
  22. define Build/InstallDev
  23. $(INSTALL_DIR) $(1)/usr/include
  24. $(CP) $(PKG_INSTALL_DIR)/usr/include/eventlog $(1)/usr/include/
  25. $(INSTALL_DIR) $(1)/usr/lib
  26. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libevtlog.{a,so*} $(1)/usr/lib/
  27. $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
  28. $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/eventlog.pc $(1)/usr/lib/pkgconfig/
  29. endef
  30. define Package/libeventlog/install
  31. $(INSTALL_DIR) $(1)/usr/lib
  32. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libevtlog.so* $(1)/usr/lib/
  33. endef
  34. $(eval $(call BuildPackage,libeventlog))