sys-fs/hfsplusutils: update to EAPI=5
authorMike Frysinger <vapier@gentoo.org>
Sat, 23 Apr 2016 06:36:37 +0000 (02:36 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 23 Apr 2016 06:36:37 +0000 (02:36 -0400)
sys-fs/hfsplusutils/hfsplusutils-1.0.4-r1.ebuild

index aa6fe7ce9e43b0ffaa0df9b86ec87cbfb0da57d2..e11b120184848a964c717ed6e56c388012b77130 100644 (file)
@@ -1,8 +1,9 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Id$
 
-inherit autotools eutils
+EAPI="5"
+
+inherit autotools eutils flag-o-matic
 
 MY_P="hfsplus_${PV}"
 DESCRIPTION="HFS+ Filesystem Access Utilities (a PPC filesystem)"
@@ -19,18 +20,16 @@ RDEPEND=""
 
 S=${WORKDIR}/hfsplus-${PV}
 
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
+src_prepare() {
        epatch "${FILESDIR}/${P}-glob.patch"
        epatch "${FILESDIR}/${P}-errno.patch"
        epatch "${FILESDIR}/${P}-gcc4.patch"
        epatch "${FILESDIR}/${P}-string.patch"
-       #let's avoid the Makefile.cvs since isn't working for us
+       # let's avoid the Makefile.cvs since isn't working for us
        eautoreconf
 }
 
 src_install() {
-       make DESTDIR="${D}" install || die "make install failed"
+       default
        newman doc/man/hfsp.man hfsp.1
 }