usrsctp: Add recipe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Khem Raj
2016-12-20 22:03:06 -08:00
committed by Martin Jansa
parent c50baaa487
commit def2483db6
2 changed files with 54 additions and 0 deletions
@@ -0,0 +1,28 @@
From 748bc693cf24baf42e459e12f152349e392b6737 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 20 Dec 2016 21:32:11 -0800
Subject: [PATCH] Use foreign switch for automake
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
Upstream-Status: Pending
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 64cc9994..19ccd4a3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,7 +29,7 @@ dnl SUCH DAMAGE.
dnl
AC_INIT([libusrsctp], [0.9.3.0])
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([foreign])
AC_PROG_CC
AC_PROG_LIBTOOL
--
2.11.0
@@ -0,0 +1,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 \
"