Skip to content

Commit

Permalink
app-arch/rzip: Port to EAPI 6
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.19, Repoman-2.3.6
  • Loading branch information
SoapGentoo committed Dec 29, 2017
1 parent 7de330c commit f2c1b80
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions app-arch/rzip/rzip-2.1-r2.ebuild
Original file line number Diff line number Diff line change
@@ -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/"
Expand All @@ -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"
Expand Down

0 comments on commit f2c1b80

Please sign in to comment.