You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
640 B
29 lines
640 B
# 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
|
|
}
|