diff options
Diffstat (limited to 'meta-networking/recipes-protocols/openflow/openflow.inc')
-rw-r--r-- | meta-networking/recipes-protocols/openflow/openflow.inc | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/openflow/openflow.inc b/meta-networking/recipes-protocols/openflow/openflow.inc new file mode 100644 index 000000000..1a226f82c --- /dev/null +++ b/meta-networking/recipes-protocols/openflow/openflow.inc | |||
@@ -0,0 +1,35 @@ | |||
1 | SUMMARY = "OpenFlow communications protocol" | ||
2 | DESCRIPTION = "\ | ||
3 | Open standard that enables researchers to run experimental protocols in \ | ||
4 | contained networks. OpenFlow is a communications interface between \ | ||
5 | control and forwarding planes of a software-defined networking architecture.\ | ||
6 | " | ||
7 | HOMEPAGE = "http://www.openflow.org" | ||
8 | |||
9 | SECTION = "networking" | ||
10 | LICENSE = "GPLv2" | ||
11 | |||
12 | LIC_FILES_CHKSUM = "file://COPYING;md5=e870c934e2c3d6ccf085fd7cf0a1e2e2" | ||
13 | |||
14 | SRC_URI = "git://gitosis.stanford.edu/openflow.git;protocol=git" | ||
15 | |||
16 | DEPENDS = "virtual/libc" | ||
17 | |||
18 | EXTRA_OECONF += "KARCH=${TARGET_ARCH}" | ||
19 | |||
20 | PACKAGECONFIG ??= "openssl" | ||
21 | PACKAGECONFIG[openssl] = "--enable-ssl,--disable-ssl, openssl, libssl" | ||
22 | |||
23 | S = "${WORKDIR}/git" | ||
24 | |||
25 | inherit autotools-brokensep | ||
26 | |||
27 | do_configure() { | ||
28 | ./boot.sh | ||
29 | oe_runconf | ||
30 | } | ||
31 | |||
32 | do_install_append() { | ||
33 | # Remove /var/run as it is created on startup | ||
34 | rm -rf ${D}${localstatedir}/run | ||
35 | } | ||