[ovs-dev,9/9] Debian: add libopenvswitch-dev build target
diff mbox

Message ID 1456184819-56124-10-git-send-email-ben@skyportsystems.com
State Not Applicable
Headers show

Commit Message

ben@skyportsystems.com Feb. 22, 2016, 11:46 p.m. UTC
From: Ben Warren <ben@skyportsystems.com>

Add shared objects and header files

Signed-off-by: Ben Warren <ben@skyportsystems.com>
---
 debian/automake.mk                |  1 +
 debian/control                    | 15 +++++++++++++++
 debian/libopenvswitch-dev.install |  5 +++++
 3 files changed, 21 insertions(+)
 create mode 100644 debian/libopenvswitch-dev.install

Patch
diff mbox

diff --git a/debian/automake.mk b/debian/automake.mk
index de2350c..8315495 100644
--- a/debian/automake.mk
+++ b/debian/automake.mk
@@ -7,6 +7,7 @@  EXTRA_DIST += \
 	debian/copyright.in \
 	debian/dkms.conf.in \
 	debian/dirs \
+	debian/libopenvswitch-dev.install \
 	debian/openvswitch-common.dirs \
 	debian/openvswitch-common.docs \
 	debian/openvswitch-common.install \
diff --git a/debian/control b/debian/control
index 2918d06..19c3d0e 100644
--- a/debian/control
+++ b/debian/control
@@ -288,3 +288,18 @@  Description: Open vSwitch VTEP utilities
  .
  This package provides utilities that are useful to interact with a
  VTEP-configured database and a VTEP emulator.
+
+Package: libopenvswitch-dev
+Architecture: linux-any
+Depends: ${misc:Depends}
+Description: Openvswitch development libraries, header files and documentation
+ Open vSwitch is a production quality, multilayer, software-based, Ethernet
+ virtual switch. It is designed to enable massive network automation through
+ programmatic extension, while still supporting standard management interfaces
+ and protocols (e.g. NetFlow, sFlow, SPAN, RSPAN, CLI, LACP, 802.1ag). In
+ addition, it is designed to support distribution across multiple physical
+ servers similar to VMware's vNetwork distributed vswitch or Cisco's Nexus
+ 1000V.
+ .
+ This package provides libraries and header files that enable third-party applications
+ to include openvswitch code.
diff --git a/debian/libopenvswitch-dev.install b/debian/libopenvswitch-dev.install
new file mode 100644
index 0000000..fa11ea6
--- /dev/null
+++ b/debian/libopenvswitch-dev.install
@@ -0,0 +1,5 @@ 
+usr/lib/*.a
+usr/lib/*.so
+usr/lib/*.so.*
+include/openflow/*.h /usr/include/openflow/
+include/openvswitch/*.h /usr/include/openvswitch/