2019-02-20 23:12:26 +03:00
|
|
|
# Copyright 1999-2019 Gentoo Authors
|
2012-02-06 16:39:49 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=4
|
|
|
|
|
|
|
|
DESCRIPTION="RFC3261 compliant SIP User-Agent library"
|
|
|
|
HOMEPAGE="http://sofia-sip.sourceforge.net/"
|
|
|
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
|
|
|
|
2013-01-17 00:38:12 +04:00
|
|
|
LICENSE="LGPL-2.1+ BSD public-domain" # See COPYRIGHT
|
2012-02-06 16:39:49 +04:00
|
|
|
SLOT="0"
|
2020-01-26 23:15:23 +03:00
|
|
|
KEYWORDS="~alpha amd64 ~arm arm64 ia64 ppc ~ppc64 sparc x86 ~x86-linux"
|
2017-05-20 21:31:56 +03:00
|
|
|
IUSE="libressl ssl static-libs"
|
2012-02-06 16:39:49 +04:00
|
|
|
|
|
|
|
RDEPEND="dev-libs/glib:2
|
2017-05-20 21:31:56 +03:00
|
|
|
ssl? (
|
|
|
|
!libressl? ( dev-libs/openssl )
|
|
|
|
libressl? ( dev-libs/libressl )
|
|
|
|
)"
|
2012-02-06 16:39:49 +04:00
|
|
|
DEPEND="${RDEPEND}
|
2012-05-05 10:06:40 +04:00
|
|
|
virtual/pkgconfig"
|
2012-02-06 16:39:49 +04:00
|
|
|
|
|
|
|
# tests are broken, see bugs 304607 and 330261
|
|
|
|
RESTRICT="test"
|
|
|
|
|
|
|
|
DOCS=( AUTHORS ChangeLog README README.developers RELEASE TODO )
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
econf \
|
|
|
|
$(use_enable static-libs static) \
|
|
|
|
$(use_with ssl openssl)
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
default
|
|
|
|
rm -f "${ED}"usr/lib*/lib${PN}*.la
|
|
|
|
}
|