media-libs/celt: bump EAPI
authorAaron Bauman <bman@gentoo.org>
Tue, 29 May 2018 15:37:32 +0000 (11:37 -0400)
committerAaron Bauman <bman@gentoo.org>
Tue, 29 May 2018 20:10:14 +0000 (16:10 -0400)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

media-libs/celt/celt-0.5.1.3.ebuild

index 9f9e2598cac0bee9f84c6052f26757188879d339..aa8cfc218fbb7aaf84161632868691aabb215c3b 100644 (file)
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="2"
+EAPI=6
 
 DESCRIPTION="CELT is a very low delay audio codec designed for high-quality communications"
 HOMEPAGE="http://www.celt-codec.org/"
@@ -22,8 +22,6 @@ src_configure() {
 }
 
 src_install() {
-       emake DESTDIR="${D}" install || die "emake install failed."
-       dodoc README TODO || die "dodoc failed."
-
-       use static-libs || find "${D}" -name '*.la' -delete
+       default
+       use static-libs || (find "${D}" -name '*.la' -delete || die "Pruning failed")
 }