SwordArMor-gentoo-overlay/dev-libs/ccrtp/ccrtp-2.1.2.ebuild

39 lines
656 B
Bash

# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit flag-o-matic
DESCRIPTION="GNU ccRTP is an implementation of RTP"
HOMEPAGE="https://www.gnu.org/software/ccrtp/"
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc"
RDEPEND="
dev-libs/libgcrypt:=
dev-libs/ucommon:=
"
DEPEND="${RDEPEND}"
BDEPEND="
doc? ( app-doc/doxygen )
"
src_configure() {
use doc || export DOXYGEN=/bin/true
append-cxxflags "-std=c++11"
econf --disable-static
}
src_install() {
use doc && HTML_DOCS=( doc/html )
default
find "${D}" -name '*.la' -delete || die
}