app-arch/rzip: Port to EAPI 6
authorDavid Seifert <soap@gentoo.org>
Fri, 29 Dec 2017 12:25:43 +0000 (13:25 +0100)
committerDavid Seifert <soap@gentoo.org>
Fri, 29 Dec 2017 13:16:27 +0000 (14:16 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

app-arch/rzip/rzip-2.1-r2.ebuild

index 1c8043ac3fb6ef178b52ddaf788b62f0be18cf83..75233dfea4579a2d83832cea5be8057aca9def0c 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="2"
+EAPI=6
 
-inherit autotools eutils
+inherit autotools
 
 DESCRIPTION="Compression program for large files"
 HOMEPAGE="https://rzip.samba.org/"
@@ -14,17 +14,17 @@ SLOT="0"
 KEYWORDS="amd64 hppa ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE=""
 
-DEPEND="app-arch/bzip2"
+RDEPEND="app-arch/bzip2:="
+DEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}"/${PN}-2.1-darwin.patch )
 
 src_prepare() {
-       epatch "${FILESDIR}"/${PN}-2.1-darwin.patch
+       default
+       mv configure.{in,ac} || die
        eautoreconf
 }
 
-src_install() {
-       emake DESTDIR="${D}" install || die "emake install failed."
-}
-
 pkg_postinst() {
        ewarn "Warning: Gentoo shipped a broken rzip for quite some time. During"
        ewarn "compression of large files it didn't set the right file size, so"