net-libs/libeXosip: bump EAPI; drop eutils; add LibreSSL support
authorAaron Bauman <bman@gentoo.org>
Mon, 28 May 2018 01:15:09 +0000 (21:15 -0400)
committerAaron Bauman <bman@gentoo.org>
Mon, 28 May 2018 23:01:56 +0000 (19:01 -0400)
Bug: https://bugs.gentoo.org/565238
Package-Manager: Portage-2.3.40, Repoman-2.3.9

net-libs/libeXosip/libeXosip-3.5.0.ebuild
net-libs/libeXosip/libeXosip-4.0.0.ebuild

index 322a25facbbe0bccb1390b87f72e4a60f5980248..3f2fed0aaf0aca207e6ad18bf25e6a20cb34d761 100644 (file)
@@ -1,13 +1,12 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="2"
-
-inherit eutils
+EAPI=6
 
 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"
@@ -15,11 +14,15 @@ SRC_URI="mirror://nongnu/exosip/${MY_P}.tar.gz"
 KEYWORDS="amd64 ppc x86 ~ppc-macos ~x86-macos"
 SLOT="0"
 LICENSE="GPL-2"
-IUSE="+srv ssl"
+IUSE="libressl +srv ssl"
 
 DEPEND=">=net-libs/libosip-3.2.0
        <net-libs/libosip-4
-       ssl? ( dev-libs/openssl )"
+       ssl? (
+               libressl? ( dev-libs/libressl:0= )
+               !libressl? ( dev-libs/openssl:0= )
+       )
+"
 RDEPEND="${DEPEND}"
 
 S=${WORKDIR}/${MY_P}
@@ -30,8 +33,3 @@ src_configure() {
                $(use_enable ssl openssl) \
                $(use_enable srv srvrec)
 }
-
-src_install() {
-       emake DESTDIR="${D}" install || die "emake install failed"
-       dodoc AUTHORS ChangeLog NEWS README
-}
index 384ed3cee6ceaaf55a73649036ddf57b24a95fc5..c068cc5a6b31aee3dcfe918d98b82e89c5606ee5 100644 (file)
@@ -1,13 +1,14 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI=6
 
-inherit eutils versionator
+inherit 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"
@@ -15,10 +16,14 @@ 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 ssl"
+IUSE="libressl +srv ssl"
 
 DEPEND=">=net-libs/libosip-4.0.0:=
-       ssl? ( dev-libs/openssl )"
+       ssl? (
+               libressl? ( dev-libs/libressl:0= )
+               !libressl? ( dev-libs/openssl:0= )
+       )
+"
 RDEPEND="${DEPEND}"
 
 S=${WORKDIR}/${MY_P}
@@ -29,8 +34,3 @@ src_configure() {
                $(use_enable ssl openssl) \
                $(use_enable srv srvrec)
 }
-
-src_install() {
-       emake DESTDIR="${D}" install
-       dodoc AUTHORS ChangeLog NEWS README
-}