@ -26,6 +26,7 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / k e r n e l . m k
$( call include_mk , python -package .mk )
PKG_FIXUP = libtool
@ -56,6 +57,16 @@ define Package/openvswitch/description
Provides the main userspace components required for Open vSwitch to function .
e n d e f
d e f i n e P a c k a g e / o p e n v s w i t c h - p y t h o n
$( call Package/openvswitch/Default)
TITLE:= Open vSwitch Python Support
DEPENDS:= @PACKAGE_openvswitch +PACKAGE_openvswitch:openvswitch +python
e n d e f
d e f i n e P a c k a g e / o p e n v s w i t c h - p y t h o n / d e s c r i p t i o n
Provides bindings and libraries for using Python to manipulate/work with Open vSwitch.
e n d e f
d e f i n e P a c k a g e / o p e n v s w i t c h - b e n c h m a r k
$( call Package/openvswitch/Default)
TITLE:= Open vSwitch Userspace Package
@ -141,6 +152,11 @@ define Package/openvswitch/install
$( INSTALL_CONF) $( PKG_BUILD_DIR) /vswitchd/vswitch.ovsschema $( 1) /usr/share/openvswitch/
e n d e f
d e f i n e P a c k a g e / o p e n v s w i t c h - p y t h o n / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib/python$( PYTHON_VERSION) /
$( CP) $( PKG_BUILD_DIR) /python/ovs/ $( 1) /usr/lib/python$( PYTHON_VERSION) /
e n d e f
d e f i n e P a c k a g e / o p e n v s w i t c h - b e n c h m a r k / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin/
$( INSTALL_BIN) $( PKG_BUILD_DIR) /utilities/.libs/ovs-benchmark $( 1) /usr/bin/
@ -152,6 +168,7 @@ define Package/openvswitch/postinst
e n d e f
$( eval $ ( call BuildPackage ,openvswitch ) )
$( eval $ ( call BuildPackage ,openvswitch -python ) )
$( eval $ ( call BuildPackage ,openvswitch -benchmark ) )
$( eval $ ( call KernelPackage ,openvswitch ) )