1
0

Makefile 835 B

1234567891011121314151617181920212223242526272829303132
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=jsonfilter
  3. PKG_RELEASE:=1
  4. PKG_SOURCE_PROTO:=git
  5. PKG_SOURCE_URL=$(LEDE_GIT)/project/jsonpath.git
  6. PKG_SOURCE_DATE:=2016-07-02
  7. PKG_SOURCE_VERSION:=dea067ad67d977c247c300c06676a06adf21e0c7
  8. PKG_MIRROR_HASH:=6c0e30da3f0c82527f9b5285d7c6ae61406732f2b0543b93131fe115ffc2987a
  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:=OpenWrt JSON filter utility
  19. URL:=http://git.openwrt.org/?p=project/jsonpath.git
  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))