1 include $(TOPDIR
)/rules.mk
5 PKG_RELEASE
:=$(AUTORELEASE
)
7 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
8 PKG_SOURCE_URL
:=https
://codeload.github.com
/mikefarah
/yq
/tar.gz
/v
$(PKG_VERSION
)?
9 PKG_HASH
:=f55ffb9c6d7926b06d5862eb6a9e9ea942ec2883286df8e2e3d6f0716cc36eed
11 PKG_MAINTAINER
:=Tianling Shen
<cnsztl@immortalwrt.org
>
13 PKG_LICENSE_FILES
:=LICENSE
15 PKG_BUILD_DEPENDS
:=golang
/host
19 GO_PKG
:=github.com
/mikefarah
/yq
21 include $(INCLUDE_DIR
)/package.mk
22 include ..
/..
/lang
/golang
/golang-package.mk
27 TITLE
:=Portable command-line YAML processor
28 URL
:=https
://mikefarah.gitbook.io
/yq
/
29 DEPENDS
:=$(GO_ARCH_DEPENDS
)
32 define Package
/yq
/description
33 The aim of the project is to be the jq or sed of yaml files.
36 $(eval
$(call GoBinPackage
,yq
))
37 $(eval
$(call BuildPackage
,yq
))