Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | DESCRIPTION = "This is a userland SCTP stack supporting FreeBSD, Linux, Mac OS X and Windows." |
| 2 | LICENSE = "BSD-3-Clause" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=ffcf846341f3856d79a483eafa18e2a5" |
| 4 | |
| 5 | SRCREV = "dbfc1b8c4cf1a46a4d8987ba542d5ff06bdaf14c" |
| 6 | SRC_URI = "git://github.com/sctplab/usrsctp;protocol=https;branch=master \ |
| 7 | file://0001-Use-foreign-switch-for-automake.patch \ |
| 8 | " |
| 9 | |
| 10 | S = "${WORKDIR}/git" |
| 11 | |
| 12 | inherit autotools pkgconfig |
| 13 | |
| 14 | DEPENDS += "openssl" |
| 15 | |
| 16 | CFLAGS += "-DSCTP_USE_OPENSSL_SHA1 -fPIC" |
| 17 | LDFLAGS += "-lssl -lcrypto" |
| 18 | |
| 19 | PACKAGECONFIG ?= "disablewarnings inet inet6" |
| 20 | PACKAGECONFIG[disablewarnings] = "--disable-warnings-as-errors,," |
| 21 | PACKAGECONFIG[inet] = "--enable-inet,--disable-inet," |
| 22 | PACKAGECONFIG[inet6] = "--enable-inet6,--disable-inet6," |
| 23 | |
| 24 | EXTRA_OECONF += "--disable-debug" |