diff options
author | davidovski <david@davidovski.xyz> | 2022-06-06 21:25:48 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-06 21:25:48 +0000 |
commit | ccc722b7ed330198d82a3cf28ead76d6d107a70a (patch) | |
tree | 7611b3cc4f3ca681524fa28b174a0253eb802e0e /repo/libusrsctp | |
parent | 9ee32689f0b57b9e1de6d22c84ce8e3700b6122b (diff) |
added java
Diffstat (limited to 'repo/libusrsctp')
-rw-r--r-- | repo/libusrsctp/libusrsctp.xibuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/repo/libusrsctp/libusrsctp.xibuild b/repo/libusrsctp/libusrsctp.xibuild new file mode 100644 index 0000000..eacfe2d --- /dev/null +++ b/repo/libusrsctp/libusrsctp.xibuild @@ -0,0 +1,31 @@ +#!/bin/sh + +NAME="libusrsctp" +DESC="Portable SCTP userland stack" + +MAKEDEPS="automake autoconf libtool" + +PKG_VER=0.9.3.0_git20190127 +_commit=81049b90f5703b89154a7dc06cf13f9b01811e06 +SOURCE="https://github.com/sctplab/usrsctp/archive/$_commit.tar.gz" + +prepare() { + ./bootstrap +} + +build() { + export CFLAGS="$CFLAGS -Wno-error=address-of-packed-member -Wno-error=cpp" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make +} + +package() { + make DESTDIR="$PKG_DEST" install +} + |