2020-02-10 00:29:28 +03:00
|
|
|
# Copyright 1999-2020 Gentoo Authors
|
2012-02-06 16:39:49 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2020-02-10 00:29:28 +03:00
|
|
|
EAPI=7
|
2012-02-06 16:39:49 +04:00
|
|
|
|
|
|
|
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-04-04 13:15:30 +03:00
|
|
|
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ~ppc64 sparc x86 ~x86-linux"
|
2020-02-10 00:29:28 +03:00
|
|
|
IUSE="libressl ssl"
|
2012-02-06 16:39:49 +04:00
|
|
|
# tests are broken, see bugs 304607 and 330261
|
|
|
|
RESTRICT="test"
|
|
|
|
|
2020-02-10 00:29:28 +03:00
|
|
|
RDEPEND="
|
|
|
|
dev-libs/glib:2
|
|
|
|
ssl? (
|
|
|
|
!libressl? ( dev-libs/openssl:0= )
|
|
|
|
libressl? ( dev-libs/libressl:0= )
|
|
|
|
)"
|
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
BDEPEND="virtual/pkgconfig"
|
2012-02-06 16:39:49 +04:00
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
econf \
|
2020-02-10 00:29:28 +03:00
|
|
|
--disable-static \
|
2012-02-06 16:39:49 +04:00
|
|
|
$(use_with ssl openssl)
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
default
|
2020-02-10 00:29:28 +03:00
|
|
|
dodoc RELEASE
|
|
|
|
|
|
|
|
# no static archives
|
|
|
|
find "${D}" -name '*.la' -delete || die
|
2012-02-06 16:39:49 +04:00
|
|
|
}
|