1 include $(TOPDIR
)/rules.mk
8 PKG_SOURCE_VERSION
:=v
$(PKG_VERSION
)
9 PKG_SOURCE_URL
:=https
://github.com
/containernetworking
/plugins
10 PKG_MIRROR_HASH
:=4372700fa1fb159235586432800f228d92246d13571f5a29aa9bc58291eac6d9
12 PKG_MAINTAINER
:=Daniel Golle
<daniel@makrotopia.org
>, Paul Spooren
<mail@aparcar.org
>
13 PKG_LICENSE
:=Apache-2.0
14 PKG_LICENSE_FILES
:=LICENSE
16 PKG_BUILD_DEPENDS
:=golang
/host
18 PKG_BUILD_FLAGS
:=no-mips16
20 GO_PKG
:=github.com
/containernetworking
/plugins
/
21 GO_PKG_BUILD_PKG
:=github.com
/containernetworking
/plugins
/plugins
/main
/... \
22 github.com
/containernetworking
/plugins
/plugins
/meta
/... \
23 github.com
/containernetworking
/plugins
/plugins
/ipam
/...
25 include $(INCLUDE_DIR
)/package.mk
26 include ..
/..
/lang
/golang
/golang-package.mk
28 define Package
/cni-plugins
32 URL
:=https
://github.com
/containernetworking
/cni-plugins
33 DEPENDS
:=$(GO_ARCH_DEPENDS
) +ip-full
+kmod-veth
36 define Package
/cni-plugins
/description
37 Some CNI network plugins
, maintained by the containernetworking team. For
38 more information
, see the individual READMEs.
41 define Package
/cni-plugins
/install
42 $(call GoPackage
/Package
/Install
/Bin
,$(PKG_INSTALL_DIR
))
43 $(INSTALL_DIR
) $(1)/usr
/lib
/cni
44 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/* $(1)/usr
/lib
/cni
47 $(eval
$(call GoBinPackage
,cni-plugins
))
48 $(eval
$(call BuildPackage
,cni-plugins
))