blob: cccbfa19a6952efa226f2d98ee3c5a2c51b5a3fe [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001SUMMARY = "OpenFlow communications protocol"
2DESCRIPTION = "\
3Open standard that enables researchers to run experimental protocols in \
4contained networks. OpenFlow is a communications interface between \
5control and forwarding planes of a software-defined networking architecture.\
6"
7HOMEPAGE = "http://www.openflow.org"
8
9SECTION = "net"
10LICENSE = "GPLv2"
11
12LIC_FILES_CHKSUM = "file://COPYING;md5=e870c934e2c3d6ccf085fd7cf0a1e2e2"
13
14SRC_URI = "git://gitosis.stanford.edu/openflow.git;protocol=git"
15
16DEPENDS = "virtual/libc"
17
18PACKAGECONFIG ??= "openssl"
19PACKAGECONFIG[openssl] = "--enable-ssl,--disable-ssl, openssl openssl-native, libssl"
20
21EXTRA_OECONF += " \
22 KARCH=${TARGET_ARCH} \
23 ${@bb.utils.contains('PACKAGECONFIG', 'openssl', 'SSL_LIBS="-lssl -lcrypto"', '', d)} \
24 "
25
26S = "${WORKDIR}/git"
27
28inherit autotools-brokensep pkgconfig
29
30do_configure_prepend() {
31 ./boot.sh
32}
33
34do_install_append() {
35 # Remove /var/run as it is created on startup
36 rm -rf ${D}${localstatedir}/run
37}