Diff lrzip-0.621 with a lrzip-0.631-r1

/usr/portage/app-arch/lrzip/lrzip-0.631-r1.ebuild 2019-10-11 18:40:00.000000000 +0300
1 1
# Copyright 1999-2019 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=5
5

  
6
inherit eutils
4
EAPI=7
7 5

  
8 6
DESCRIPTION="Long Range ZIP or Lzma RZIP optimized for compressing large files"
9
HOMEPAGE="http://ck.kolivas.org/apps/lrzip/README.md"
7
HOMEPAGE="https://github.com/ckolivas/lrzip"
10 8
SRC_URI="http://ck.kolivas.org/apps/${PN}/${P}.tar.bz2"
11 9

  
12 10
LICENSE="GPL-2"
13 11
SLOT="0"
14
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86"
15
IUSE=""
12
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
13
IUSE="static-libs"
16 14

  
17 15
RDEPEND="dev-libs/lzo
18 16
	 app-arch/bzip2
......
21 19
	x86? ( dev-lang/nasm )
22 20
	virtual/perl-Pod-Parser"
23 21

  
24
src_prepare() {
25
	epatch "${FILESDIR}"/${PN}-missing-stdarg_h.patch
26
}
22
PATCHES=(
23
	"${FILESDIR}"/${PN}-missing-stdarg_h.patch
24
	"${FILESDIR}"/${P}-solaris.patch
25
)
27 26

  
28 27
src_configure() {
29
	econf --docdir="/usr/share/doc/${P}"
28
	econf $(use_enable static-libs static)
30 29
}
31 30

  
32 31
src_install() {
33 32
	default
34
	rm "${D}/usr/share/doc/${P}/COPYING"
33
	# Don't collide with net-dialup/lrzsz and /usr/bin/lrz, bug #588206
34
	rm -f "${ED}"/usr/bin/lrz
35
	rm -f "${ED}"/usr/share/man/man1/lrz.*
36

  
37
	find "${D}" -name '*.la' -delete || die
35 38
}
Thank you!