dev-embedded/stlink: add
[sgilles-overlay.git] / net-libs / libeXosip / libeXosip-4.0.0.ebuild
blob604a19c9958179d3bea950ad5c975643a7e0d5ab
1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Id$
5 EAPI="5"
7 inherit eutils versionator
9 MY_PV=${PV%.?}-${PV##*.}
10 MY_PV=${PV}
11 MY_P=${PN}2-${MY_PV}
12 DESCRIPTION="library that hides the complexity of using the SIP protocol for multimedia session establishement"
13 HOMEPAGE="https://savannah.nongnu.org/projects/exosip/"
14 SRC_URI="http://download.savannah.nongnu.org/releases/exosip/${MY_P}.tar.gz"
16 KEYWORDS="~amd64 ~ppc ~x86 ~ppc-macos ~x86-macos"
17 SLOT="0/$(get_version_component_range 1-2)"
18 LICENSE="GPL-2"
19 IUSE="+srv libressl ssl"
21 DEPEND=">=net-libs/libosip-4.0.0:=
22         ssl? ( libressl? ( dev-libs/libressl ) !libressl? ( dev-libs/openssl ) )"
23 RDEPEND="${DEPEND}"
25 S=${WORKDIR}/${MY_P}
27 src_configure() {
28         econf \
29                 --enable-mt \
30                 $(use_enable ssl openssl) \
31                 $(use_enable srv srvrec)
34 src_install() {
35         emake DESTDIR="${D}" install
36         dodoc AUTHORS ChangeLog NEWS README