aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb
blob: 99a261ec7d692edfce19c30c55bc0b137aa817e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
DESCRIPTION = "This is a userland SCTP stack supporting FreeBSD, Linux, Mac OS X and Windows."
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=ffcf846341f3856d79a483eafa18e2a5"

SRCREV = "dbfc1b8c4cf1a46a4d8987ba542d5ff06bdaf14c"
SRC_URI = "git://github.com/sctplab/usrsctp;protocol=https;branch=master \
           file://0001-Use-foreign-switch-for-automake.patch \
          "

S = "${WORKDIR}/git"

inherit autotools pkgconfig

DEPENDS += "openssl"

CFLAGS  += "-DSCTP_USE_OPENSSL_SHA1 -fPIC"
LDFLAGS += "-lssl -lcrypto"

PACKAGECONFIG ?= "disablewarnings"
PACKAGECONFIG[disablewarnings] = "--disable-warnings-as-errors,,"

EXTRA_OECONF += "--disable-inet \
                 --disable-inet6 \
                 --disable-shared \
                 --disable-debug \
               "