include $(TOPDIR)/rules.mk PKG_NAME:=jsonfilter PKG_RELEASE:=1 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL=$(PROJECT_GIT)/project/jsonpath.git PKG_SOURCE_DATE:=2024-01-23 PKG_SOURCE_VERSION:=594cfa86469c005972ba750614f5b3f1af84d0f6 PKG_MIRROR_HASH:=92bb2bc64be6769bd16c2c3c0e955e8f58abd6b99ffe6841d089e08df78fc8b7 CMAKE_INSTALL:=1 PKG_MAINTAINER:=Jo-Philipp Wich 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:=OpenWrt 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))