Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 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 = "net" |
| 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 | PACKAGECONFIG ??= "openssl" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 19 | PACKAGECONFIG[openssl] = "--enable-ssl,--disable-ssl, openssl openssl-native, libssl" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 20 | |
| 21 | EXTRA_OECONF += " \ |
| 22 | KARCH=${TARGET_ARCH} \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 23 | ${@bb.utils.contains('PACKAGECONFIG', 'openssl', 'SSL_LIBS="-lssl -lcrypto"', '', d)} \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 24 | " |
| 25 | |
| 26 | S = "${WORKDIR}/git" |
| 27 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 28 | inherit autotools-brokensep pkgconfig |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 29 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 30 | do_configure_prepend() { |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 31 | ./boot.sh |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 32 | } |
| 33 | |
| 34 | do_install_append() { |
| 35 | # Remove /var/run as it is created on startup |
| 36 | rm -rf ${D}${localstatedir}/run |
| 37 | } |