diff options
author | Sergey Ilinykh <rion4ik@gmail.com> | 2020-11-03 11:34:09 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-11-04 15:39:33 +0200 |
commit | be71c98cf9a5421551ac9373ccfead0a99caf9ad (patch) | |
tree | b9b8b43d5b6f63f02f6f8b5e3f9a64f94ef5785e /net-libs/usrsctp | |
parent | net-misc/chrony: Adopt for base-system (diff) | |
download | gentoo-be71c98cf9a5421551ac9373ccfead0a99caf9ad.tar.gz gentoo-be71c98cf9a5421551ac9373ccfead0a99caf9ad.tar.bz2 gentoo-be71c98cf9a5421551ac9373ccfead0a99caf9ad.zip |
net-libs/usrsctp: add new package
A cross-platform userland SCTP stack, dependency of >=net-im/psi-1.5
Closes: https://bugs.gentoo.org/752477
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sergey Ilinykh <rion4ik@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-libs/usrsctp')
-rw-r--r-- | net-libs/usrsctp/Manifest | 1 | ||||
-rw-r--r-- | net-libs/usrsctp/metadata.xml | 15 | ||||
-rw-r--r-- | net-libs/usrsctp/usrsctp-0.9.3.0_p20201102.ebuild | 28 |
3 files changed, 44 insertions, 0 deletions
diff --git a/net-libs/usrsctp/Manifest b/net-libs/usrsctp/Manifest new file mode 100644 index 000000000000..15767869457b --- /dev/null +++ b/net-libs/usrsctp/Manifest @@ -0,0 +1 @@ +DIST usrsctp-0.9.3.0_p20201102.tar.gz 770742 BLAKE2B 94c7b0417a076d627065c625726eb214ec58be90d0965748610f63c076f1c172cb114dc8162af5604751cfe5e86ebf5444f002d07e43c94e461e21f6a3a4819a SHA512 a4bb4dd0ec81b2314e8590cfe5386179697e64d82915a0ef7e8f7a0baf67f88e3da89329ea73b38e8c417668f971f6580e120ed5be8588761b4b334a65ab4120 diff --git a/net-libs/usrsctp/metadata.xml b/net-libs/usrsctp/metadata.xml new file mode 100644 index 000000000000..fb02cc43963d --- /dev/null +++ b/net-libs/usrsctp/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'> +<pkgmetadata> + <maintainer type="person"> + <email>rion4ik@gmail.com</email> + <name>Sergey Ilinykh</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">sctplab/usrsctp</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-libs/usrsctp/usrsctp-0.9.3.0_p20201102.ebuild b/net-libs/usrsctp/usrsctp-0.9.3.0_p20201102.ebuild new file mode 100644 index 000000000000..3f61a85db62a --- /dev/null +++ b/net-libs/usrsctp/usrsctp-0.9.3.0_p20201102.ebuild @@ -0,0 +1,28 @@ +# Copyright 2020 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" +USRSCTP_VERSION="a3e76b281ff5e3469e1c216d47533a73b3b03fab" +SRC_URI="https://github.com/sctplab/usrsctp/archive/${USRSCTP_VERSION}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DOCS=( LICENSE.md Manual.md README.md ) + +S="${WORKDIR}/${PN}-${USRSCTP_VERSION}" + +src_configure() { + local mycmakeargs=( + -Dsctp_werror=0 + -Dsctp_build_programs=0 + -Dsctp_build_shared_lib=1 + ) + cmake_src_configure +} |