Files
guru/net-libs/udt/udt-4.11_p20181126.ebuild
Alessandro Barbieri be822e6150 net-libs/udt: switch to a fork
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2022-06-07 14:01:45 +02:00

35 lines
750 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
COMMIT="0de191f6f43c0e03bb22eaf2ae4911ce5def0e10"
DESCRIPTION="UDT is a UDP based data transport protocol"
HOMEPAGE="https://github.com/eisenhauer/udt4"
SRC_URI="https://github.com/eisenhauer/udt4/archive/${COMMIT}.tar.gz -> ${PF}.gh.tar.gz"
S="${WORKDIR}/${PN}4-${COMMIT}"
LICENSE="BSD"
SLOT="4"
KEYWORDS="~amd64"
DOCS=( udt4/README.txt udt4/RELEASE_NOTES.txt udt4/draft-gg-udt-xx.txt )
src_configure(){
local mycmakeargs=(
-DBUILD_SHARED_LIBS=ON
-DCMAKE_INSTALL_LIBDIR=$(get_libdir)
-DUDT4_QUIET=OFF
)
cmake_src_configure
}
src_install(){
cmake_src_install
local HTML_DOCS=( udt4/doc/* )
einstalldocs
}