blob: ccb6256c78b4c2c350b59b50f903b11052d6d380 (
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="http://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
}
|