[oe] [meta-networking][PATCH 2/3] usrsctp: Add recipe

Martin Jansa martin.jansa at gmail.com
Tue Dec 20 14:32:31 UTC 2016


On Thu, Dec 15, 2016 at 07:59:46PM -0800, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
>  .../recipes-protocols/usrsctp/usrsctp_git.bb       | 24 ++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>  create mode 100644 meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb
> 
> diff --git a/meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb b/meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb
> new file mode 100644
> index 0000000..291eaa9
> --- /dev/null
> +++ b/meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb
> @@ -0,0 +1,24 @@
> +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"
> +
> +SRC_URI = "git://github.com/sctplab/usrsctp;protocol=https;branch=master"
> +SRCREV = "dbfc1b8c4cf1a46a4d8987ba542d5ff06bdaf14c"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit autotools pkgconfig
> +
> +DEPENDS += "openssl"

Fails to build here:
http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.dependencies.qemuarm.20161218_140914.log//3_min/failed/usrsctp.log

 Makefile.am: installing './INSTALL'
| Makefile.am: error: required file './NEWS' not found
| Makefile.am: error: required file './README' not found
| Makefile.am: error: required file './AUTHORS' not found
| Makefile.am: error: required file './ChangeLog' not found
| Makefile.am: installing './COPYING' using GNU General Public License
v3 file
| Makefile.am:     Consider adding the COPYING file to the version
control system
| Makefile.am:     for your code, to avoid questions about which license
your project uses
| programs/Makefile.am: installing './depcomp'
| autoreconf: automake failed with exit status: 1


> +
> +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 \
> +               "
> -- 
> 2.10.2
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20161220/265c7cf2/attachment-0002.sig>


More information about the Openembedded-devel mailing list