~alpine/aports

testing/libusrsctp: new aport v1 APPLIED

Daniel Santana: 1
 testing/libusrsctp: new aport

 1 files changed, 41 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3255/mbox | git am -3
Learn more about email & git

[PATCH] testing/libusrsctp: new aport Export this patch

https://github.com/sctplab/usrsctp
Portable SCTP userland stack
---
 testing/libusrsctp/APKBUILD | 41 +++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 testing/libusrsctp/APKBUILD

diff --git a/testing/libusrsctp/APKBUILD b/testing/libusrsctp/APKBUILD
new file mode 100644
index 0000000000..73fd15f0a0
--- /dev/null
+++ b/testing/libusrsctp/APKBUILD
@@ -0,0 +1,41 @@
# Contributor: Daniel Santana <daniel@santana.tech>
# Maintainer: Daniel Santana <daniel@santana.tech>
pkgname=libusrsctp
_pkgname=usrsctp
pkgver=0.9.3.0_git20190127
_commit=81049b90f5703b89154a7dc06cf13f9b01811e06
pkgrel=0
pkgdesc="Portable SCTP userland stack"
url="https://github.com/sctplab/usrsctp"
arch="all"
options="!check"  # No test suite.
license="BSD-3-Clause"
makedepends="automake autoconf libtool"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/sctplab/usrsctp/archive/$_commit.tar.gz"
builddir="$srcdir/$_pkgname-$_commit"

prepare() {
	cd "$builddir"
	./bootstrap
}

build() {
	cd "$builddir"
	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() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="85017b9d250d7c9f86a3c65e36bd4613b7a4bd4d7c64a9b7f0022179b092b4487fea91b7ff6aee76dfdaaa9a11c3e26c92afc06d007899d44e53d182199f2338  libusrsctp-0.9.3.0_git20190127.tar.gz"
-- 
2.25.0