jsonfilter: update to latest git HEAD
[openwrt/openwrt.git] / package / utils / jsonfilter / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=jsonfilter
4 PKG_RELEASE:=1
5
6 PKG_SOURCE_PROTO:=git
7 PKG_SOURCE_URL=$(PROJECT_GIT)/project/jsonpath.git
8 PKG_SOURCE_DATE:=2018-02-04
9 PKG_SOURCE_VERSION:=c7e938d6582a436dddc938539e72dd1320625c54
10 PKG_MIRROR_HASH:=0601b4d7aa5ee096e99388a57cb0701673ab58fccd6ed2984a2abbd4f846e045
11 CMAKE_INSTALL:=1
12
13 PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
14 PKG_LICENSE:=ISC
15
16 include $(INCLUDE_DIR)/package.mk
17 include $(INCLUDE_DIR)/cmake.mk
18
19 define Package/jsonfilter
20 SECTION:=base
21 CATEGORY:=Base system
22 DEPENDS:=+libubox +libjson-c
23 TITLE:=OpenWrt JSON filter utility
24 URL:=http://git.openwrt.org/?p=project/jsonpath.git
25 endef
26
27 define Package/jsonfilter/install
28 $(INSTALL_DIR) $(1)/usr/bin
29 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/jsonpath $(1)/usr/bin/jsonfilter
30 endef
31
32 $(eval $(call BuildPackage,jsonfilter))