summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/usrsctp/usrsctp-0.9.5.0.ebuild')
-rw-r--r--net-libs/usrsctp/usrsctp-0.9.5.0.ebuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/net-libs/usrsctp/usrsctp-0.9.5.0.ebuild b/net-libs/usrsctp/usrsctp-0.9.5.0.ebuild
new file mode 100644
index 00000000000..b90c995a89d
--- /dev/null
+++ b/net-libs/usrsctp/usrsctp-0.9.5.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="A cross-platform userland SCTP stack"
+HOMEPAGE="https://github.com/sctplab/usrsctp"
+SRC_URI="https://github.com/sctplab/usrsctp/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DOCS=( LICENSE.md Manual.md README.md )
+PATCHES=( "${FILESDIR}/${P}-pc-inc-path.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ -Dsctp_werror=0
+ -Dsctp_build_programs=0
+ -Dsctp_build_shared_lib=1
+ )
+ cmake_src_configure
+}