blob: cccbfa19a6952efa226f2d98ee3c5a2c51b5a3fe [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "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"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050019PACKAGECONFIG[openssl] = "--enable-ssl,--disable-ssl, openssl openssl-native, libssl"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050020
21EXTRA_OECONF += " \
22 KARCH=${TARGET_ARCH} \
Patrick Williamsddad1a12017-02-23 20:36:32 -060023 ${@bb.utils.contains('PACKAGECONFIG', 'openssl', 'SSL_LIBS="-lssl -lcrypto"', '', d)} \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050024 "
25
26S = "${WORKDIR}/git"
27
Brad Bishop6e60e8b2018-02-01 10:27:11 -050028inherit autotools-brokensep pkgconfig
Patrick Williamsb48b7b42016-08-17 15:04:38 -050029
Brad Bishop6e60e8b2018-02-01 10:27:11 -050030do_configure_prepend() {
Patrick Williamsb48b7b42016-08-17 15:04:38 -050031 ./boot.sh
Patrick Williamsb48b7b42016-08-17 15:04:38 -050032}
33
34do_install_append() {
35 # Remove /var/run as it is created on startup
36 rm -rf ${D}${localstatedir}/run
37}