xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunDESCRIPTION = "This is a userland SCTP stack supporting FreeBSD, Linux, Mac OS X and Windows."
2*4882a593SmuzhiyunLICENSE = "BSD-3-Clause"
3*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE.md;md5=ffcf846341f3856d79a483eafa18e2a5"
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunSRCREV = "a10cd498d964508c0e6ec6bd2be9dd4afcbb4d86"
6*4882a593SmuzhiyunSRC_URI = "git://github.com/sctplab/usrsctp;protocol=https;branch=master \
7*4882a593Smuzhiyun          "
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunS = "${WORKDIR}/git"
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunUPSTREAM_CHECK_COMMITS = "1"
12*4882a593Smuzhiyun
13*4882a593Smuzhiyuninherit autotools pkgconfig
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunDEPENDS += "openssl"
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunCFLAGS  += "-DSCTP_USE_OPENSSL_SHA1 -fPIC"
18*4882a593SmuzhiyunLDFLAGS += "-lssl -lcrypto"
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunPACKAGECONFIG ?= "disablewarnings inet inet6"
21*4882a593SmuzhiyunPACKAGECONFIG[disablewarnings] = "--disable-warnings-as-errors,,"
22*4882a593SmuzhiyunPACKAGECONFIG[inet] = "--enable-inet,--disable-inet,"
23*4882a593SmuzhiyunPACKAGECONFIG[inet6] = "--enable-inet6,--disable-inet6,"
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunEXTRA_OECONF += "--disable-debug"
26*4882a593Smuzhiyun
27*4882a593SmuzhiyunCVE_VERSION = "0.9.3.0"
28