Makefile 802 B

1234567891011121314151617181920212223242526272829303132
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=jsonfilter
  3. PKG_RELEASE:=1
  4. PKG_SOURCE_PROTO:=git
  5. PKG_SOURCE_URL=$(PROJECT_GIT)/jsonpath.git
  6. PKG_SOURCE_DATE:=2024-01-23
  7. PKG_SOURCE_VERSION:=594cfa86469c005972ba750614f5b3f1af84d0f6
  8. PKG_MIRROR_HASH:=70d2e0870b746920af4569631218c38c1dddfee4f5d029ec8ea0a67999bdafcd
  9. CMAKE_INSTALL:=1
  10. PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
  11. PKG_LICENSE:=ISC
  12. include $(INCLUDE_DIR)/package.mk
  13. include $(INCLUDE_DIR)/cmake.mk
  14. define Package/jsonfilter
  15. SECTION:=base
  16. CATEGORY:=Base system
  17. DEPENDS:=+libubox +libjson-c
  18. TITLE:=libreCMC JSON filter utility
  19. URL:=$(PKG_SOURCE_URL)
  20. endef
  21. define Package/jsonfilter/install
  22. $(INSTALL_DIR) $(1)/usr/bin
  23. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/jsonpath $(1)/usr/bin/jsonfilter
  24. endef
  25. $(eval $(call BuildPackage,jsonfilter))