net-libs/libosip: bump EAPI and drop eutils
authorAaron Bauman <bman@gentoo.org>
Mon, 28 May 2018 01:56:23 +0000 (21:56 -0400)
committerAaron Bauman <bman@gentoo.org>
Mon, 28 May 2018 23:01:56 +0000 (19:01 -0400)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

net-libs/libosip/libosip-3.6.0.ebuild

index 54f60c8218a254811afd897334083baa2f30ad2a..392feca4b0c51bc9bbe4d9cab5c8aa4564b899c9 100644 (file)
@@ -1,13 +1,14 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="2"
+EAPI=6
 
-inherit eutils autotools
+inherit autotools
 
 MY_PV=${PV%.?}-${PV##*.}
 MY_PV=${PV}
 MY_P=${PN}2-${MY_PV}
+
 DESCRIPTION="a simple way to support the Session Initiation Protocol"
 HOMEPAGE="https://www.gnu.org/software/osip/"
 SRC_URI="mirror://gnu/osip/${MY_P}.tar.gz"
@@ -19,8 +20,10 @@ IUSE="test"
 
 S=${WORKDIR}/${MY_P}
 
+PATCHES=( "${FILESDIR}/${PN}-3.3.0-out-source-build.patch" )
+
 src_prepare() {
-       epatch "${FILESDIR}/${PN}-3.3.0-out-source-build.patch"
+       eapply_user
        AT_M4DIR="scripts" eautoreconf
 }
 
@@ -28,8 +31,3 @@ src_configure() {
        econf --enable-mt \
                $(use_enable test)
 }
-
-src_install() {
-       emake DESTDIR="${D}" install || die "Failed to install"
-       dodoc AUTHORS ChangeLog FEATURES HISTORY README NEWS TODO || die
-}