1234567891011121314151617181920212223242526272829303132 |
- include $(TOPDIR)/rules.mk
- PKG_NAME:=jsonfilter
- PKG_RELEASE:=1
- PKG_SOURCE_PROTO:=git
- PKG_SOURCE_URL=$(PROJECT_GIT)/jsonpath.git
- PKG_SOURCE_DATE:=2024-01-23
- PKG_SOURCE_VERSION:=594cfa86469c005972ba750614f5b3f1af84d0f6
- PKG_MIRROR_HASH:=70d2e0870b746920af4569631218c38c1dddfee4f5d029ec8ea0a67999bdafcd
- CMAKE_INSTALL:=1
- PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
- PKG_LICENSE:=ISC
- include $(INCLUDE_DIR)/package.mk
- include $(INCLUDE_DIR)/cmake.mk
- define Package/jsonfilter
- SECTION:=base
- CATEGORY:=Base system
- DEPENDS:=+libubox +libjson-c
- TITLE:=libreCMC JSON filter utility
- URL:=$(PKG_SOURCE_URL)
- endef
- define Package/jsonfilter/install
- $(INSTALL_DIR) $(1)/usr/bin
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/jsonpath $(1)/usr/bin/jsonfilter
- endef
- $(eval $(call BuildPackage,jsonfilter))
|