blob: ea2141f6ab1566a60496fc3ed56fa3cd1eadf740 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Generic library for real-time communications with async IO support"
HOMEPAGE="https://github.com/baresip/re"
SRC_URI="https://github.com/baresip/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="static-libs"
DEPEND="
dev-libs/openssl:0=
sys-libs/zlib
"
RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
-DLIBRE_BUILD_STATIC=$(usex static-libs ON OFF)
)
cmake_src_configure
}
|