diff options
| author | Yousong Zhou <yszhou4tech@gmail.com> | 2019-04-25 10:44:19 +0000 |
|---|---|---|
| committer | Yousong Zhou <yszhou4tech@gmail.com> | 2019-04-26 21:03:37 +0800 |
| commit | 21ac0adcd281f5e62d6fec8f79c28df3ece2dbac (patch) | |
| tree | 5b0de134992971f465dbae038e196040f050e251 | |
| parent | ab6121482779fd6ecd69707e51edb6e767c760a8 (diff) | |
openvswitch: add openvswitch-python3 package
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
| -rw-r--r-- | net/openvswitch/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/openvswitch/Makefile b/net/openvswitch/Makefile index 9dfe83277..b73446f32 100644 --- a/net/openvswitch/Makefile +++ b/net/openvswitch/Makefile @@ -35,6 +35,7 @@ PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com> include $(INCLUDE_DIR)/package.mk include ../../lang/python/python-host.mk include ../../lang/python/python-package.mk +include ../../lang/python/python3-package.mk ovs_kmod_packages:= @@ -283,6 +284,16 @@ endef $(eval $(call OvsPackageTemplate,python)) +ovs_python3_title:=Open vSwitch (Python3 library) +ovs_python3_hidden:= +ovs_python3_depends:=+PACKAGE_openvswitch-python3:python3 +PACKAGE_openvswitch-python3:python3-six +define ovs_python3_install + $$(INSTALL_DIR) $$(1)$$(PYTHON3_PKG_DIR) + $$(CP) $$(PKG_INSTALL_DIR)/usr/share/openvswitch/python/ovs $$(1)$$(PYTHON3_PKG_DIR) +endef +$(eval $(call OvsPackageTemplate,python3)) + + CONFIGURE_ARGS+= \ --enable-ndebug \ --enable-shared \ |
