1 |
commit: 3940514e52e6bc0b689ce7df670c4b674df420af |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 14 09:57:44 2018 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 14 10:18:12 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3940514e |
7 |
|
8 |
app-arch/lrzip: Don't collide with other packages |
9 |
|
10 |
Closes: https://bugs.gentoo.org/588206 |
11 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
13 |
|
14 |
app-arch/lrzip/lrzip-0.631-r1.ebuild | 38 ++++++++++++++++++++++++++++++++++++ |
15 |
1 file changed, 38 insertions(+) |
16 |
|
17 |
diff --git a/app-arch/lrzip/lrzip-0.631-r1.ebuild b/app-arch/lrzip/lrzip-0.631-r1.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..198bfeec9a8 |
20 |
--- /dev/null |
21 |
+++ b/app-arch/lrzip/lrzip-0.631-r1.ebuild |
22 |
@@ -0,0 +1,38 @@ |
23 |
+# Copyright 1999-2018 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=7 |
27 |
+ |
28 |
+DESCRIPTION="Long Range ZIP or Lzma RZIP optimized for compressing large files" |
29 |
+HOMEPAGE="https://github.com/ckolivas/lrzip" |
30 |
+SRC_URI="http://ck.kolivas.org/apps/${PN}/${P}.tar.bz2" |
31 |
+ |
32 |
+LICENSE="GPL-2" |
33 |
+SLOT="0" |
34 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
35 |
+IUSE="static-libs" |
36 |
+ |
37 |
+RDEPEND="dev-libs/lzo |
38 |
+ app-arch/bzip2 |
39 |
+ sys-libs/zlib" |
40 |
+DEPEND="${RDEPEND} |
41 |
+ x86? ( dev-lang/nasm ) |
42 |
+ virtual/perl-Pod-Parser" |
43 |
+ |
44 |
+PATCHES=( |
45 |
+ "${FILESDIR}"/${PN}-missing-stdarg_h.patch |
46 |
+ "${FILESDIR}"/${P}-solaris.patch |
47 |
+) |
48 |
+ |
49 |
+src_configure() { |
50 |
+ econf $(use_enable static-libs static) |
51 |
+} |
52 |
+ |
53 |
+src_install() { |
54 |
+ default |
55 |
+ # Don't collide with net-dialup/lrzsz and /usr/bin/lrz, bug #588206 |
56 |
+ rm -f "${ED}"/usr/bin/lrz |
57 |
+ rm -f "${ED}"/usr/share/man/man1/lrz.* |
58 |
+ |
59 |
+ find "${D}" -name '*.la' -delete || die |
60 |
+} |