blob: 34558b000cae43daee2e3501b1236c4e9d672b38 (
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
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit cmake-utils
MY_P=ZRTPCPP-${PV}
DESCRIPTION="GNU RTP stack for the zrtp protocol developed by Phil Zimmermann"
HOMEPAGE="http://www.gnutelephony.org/index.php/GNU_ZRTP"
# https://github.com/wernerd/ZRTPCPP/releases
SRC_URI="https://dev.gentoo.org/~mgorny/dist/${MY_P}.tar.gz"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
LICENSE="GPL-3"
IUSE="sqlite"
SLOT="0/4"
RDEPEND="
dev-libs/openssl:0=
sqlite? ( dev-db/sqlite:3= )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
DOCS=( AUTHORS README.md )
S=${WORKDIR}/${MY_P}
src_configure() {
# note: building only core since that's what ortp wants
local mycmakeargs=(
-DCORE_LIB=yes
-DCRYPTO_STANDALONE=no
-DSQLITE=$(usex sqlite)
)
cmake-utils_src_configure
}
|