Skip to content

Commit

Permalink
net-libs/libeXosip: new package
Browse files Browse the repository at this point in the history
Tested by Marek Behun and @maurerpe

Gentoo-Bug: https://bugs.gentoo.org/565238
  • Loading branch information
maurerpe authored and lluixhi committed Jan 8, 2018
1 parent a381c14 commit d46a3f8
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 0 deletions.
1 change: 1 addition & 0 deletions net-libs/libeXosip/Manifest
@@ -0,0 +1 @@
DIST libeXosip2-4.0.0.tar.gz 526339 SHA256 5267a82a9c05990bfde629eb7f73b24a8812a2ecc4614600e022257dfac8b2e5 SHA512 8e286e1e533c12bce26a164e42286c3239556860863a877438f63a694e47055f17fb98eb0f2ed91cac72f0645e8bf4dd9b922b5065357f16c0bacafc99406f51 WHIRLPOOL 35b0ad25ce415fbfde40eda93fb6e5a694136b25d4c327356db848e0ad354891729bafe81babd74e9a11de6a45f051f029acb802d9f4aaeb894f3462d05bcc75
39 changes: 39 additions & 0 deletions net-libs/libeXosip/libeXosip-4.0.0.ebuild
@@ -0,0 +1,39 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"

inherit eutils versionator

MY_PV=${PV%.?}-${PV##*.}
MY_PV=${PV}
MY_P=${PN}2-${MY_PV}
DESCRIPTION="library to use the SIP protocol for multimedia session establishement"
HOMEPAGE="https://savannah.nongnu.org/projects/exosip/"
SRC_URI="mirror://nongnu/exosip/${MY_P}.tar.gz"

KEYWORDS="~amd64 ~ppc ~x86 ~ppc-macos ~x86-macos"
SLOT="0/$(get_version_component_range 1-2)"
LICENSE="GPL-2"
IUSE="+srv libressl ssl"

DEPEND=">=net-libs/libosip-4.0.0:=
ssl? (
!libressl? ( dev-libs/openssl )
libressl? ( dev-libs/libressl )
)"
RDEPEND="${DEPEND}"

S=${WORKDIR}/${MY_P}

src_configure() {
econf \
--enable-mt \
$(use_enable ssl openssl) \
$(use_enable srv srvrec)
}

src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS ChangeLog NEWS README
}
8 changes: 8 additions & 0 deletions net-libs/libeXosip/metadata.xml
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<use>
<flag name="srv">enable support for SRV records DNS queries</flag>
</use>
</pkgmetadata>

0 comments on commit d46a3f8

Please sign in to comment.