1 |
commit: a523c274c0183a5175486524d2f27bae282c92c4 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 11 12:43:58 2020 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 11 12:44:59 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a523c274 |
7 |
|
8 |
app-arch/xz-utils: Drop old |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
12 |
|
13 |
app-arch/xz-utils/xz-utils-5.2.4-r3.ebuild | 91 ------------------------------ |
14 |
1 file changed, 91 deletions(-) |
15 |
|
16 |
diff --git a/app-arch/xz-utils/xz-utils-5.2.4-r3.ebuild b/app-arch/xz-utils/xz-utils-5.2.4-r3.ebuild |
17 |
deleted file mode 100644 |
18 |
index 3a7654adc71..00000000000 |
19 |
--- a/app-arch/xz-utils/xz-utils-5.2.4-r3.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,91 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-# Remember: we cannot leverage autotools in this ebuild in order |
26 |
-# to avoid circular deps with autotools |
27 |
- |
28 |
-EAPI=6 |
29 |
- |
30 |
-inherit multilib toolchain-funcs libtool multilib-minimal preserve-libs usr-ldscript |
31 |
- |
32 |
-if [[ ${PV} == "9999" ]] ; then |
33 |
- EGIT_REPO_URI="https://git.tukaani.org/xz.git" |
34 |
- inherit git-r3 autotools |
35 |
- SRC_URI="" |
36 |
- EXTRA_DEPEND="sys-devel/gettext dev-vcs/cvs >=sys-devel/libtool-2" #272880 286068 |
37 |
-else |
38 |
- MY_P="${PN/-utils}-${PV/_}" |
39 |
- SRC_URI="https://tukaani.org/xz/${MY_P}.tar.gz" |
40 |
- [[ "${PV}" == *_alpha* ]] || [[ "${PV}" == *_beta* ]] || \ |
41 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
42 |
- S="${WORKDIR}/${MY_P}" |
43 |
- EXTRA_DEPEND= |
44 |
-fi |
45 |
- |
46 |
-DESCRIPTION="utils for managing LZMA compressed files" |
47 |
-HOMEPAGE="https://tukaani.org/xz/" |
48 |
- |
49 |
-# See top-level COPYING file as it outlines the various pieces and their licenses. |
50 |
-LICENSE="public-domain LGPL-2.1+ GPL-2+" |
51 |
-SLOT="0" |
52 |
-IUSE="elibc_FreeBSD +extra-filters nls static-libs +threads" |
53 |
- |
54 |
-RDEPEND="!<app-arch/lzma-4.63 |
55 |
- !<app-arch/p7zip-4.57" |
56 |
-DEPEND="${RDEPEND} |
57 |
- ${EXTRA_DEPEND}" |
58 |
- |
59 |
-# Tests currently do not account for smaller feature set |
60 |
-RESTRICT="!extra-filters? ( test )" |
61 |
- |
62 |
-src_prepare() { |
63 |
- default |
64 |
- if [[ ${PV} == "9999" ]] ; then |
65 |
- eautopoint |
66 |
- eautoreconf |
67 |
- else |
68 |
- elibtoolize # to allow building shared libs on Solaris/x64 |
69 |
- fi |
70 |
-} |
71 |
- |
72 |
-multilib_src_configure() { |
73 |
- local myconf=( |
74 |
- $(use_enable nls) |
75 |
- $(use_enable threads) |
76 |
- $(use_enable static-libs static) |
77 |
- ) |
78 |
- multilib_is_native_abi || |
79 |
- myconf+=( --disable-{xz,xzdec,lzmadec,lzmainfo,lzma-links,scripts} ) |
80 |
- if ! use extra-filters; then |
81 |
- myconf+=( |
82 |
- # LZMA1 + LZMA2 for standard .lzma & .xz files |
83 |
- --enable-encoders=lzma1,lzma2 |
84 |
- --enable-decoders=lzma1,lzma2 |
85 |
- # those are used by default, depending on preset |
86 |
- --enable-match-finders=hc3,hc4,bt4 |
87 |
- # CRC64 is used by default, though some (old?) files use CRC32 |
88 |
- --enable-checks=crc32,crc64 |
89 |
- ) |
90 |
- fi |
91 |
- |
92 |
- use elibc_FreeBSD && export ac_cv_header_sha256_h=no #545714 |
93 |
- ECONF_SOURCE="${S}" econf "${myconf[@]}" |
94 |
-} |
95 |
- |
96 |
-multilib_src_install() { |
97 |
- default |
98 |
- gen_usr_ldscript -a lzma |
99 |
-} |
100 |
- |
101 |
-multilib_src_install_all() { |
102 |
- find "${ED}" -name '*.la' -delete || die |
103 |
- rm "${ED%/}"/usr/share/doc/${PF}/COPYING* || die |
104 |
-} |
105 |
- |
106 |
-pkg_preinst() { |
107 |
- preserve_old_lib /usr/$(get_libdir)/liblzma$(get_libname 0) |
108 |
-} |
109 |
- |
110 |
-pkg_postinst() { |
111 |
- preserve_old_lib_notify /usr/$(get_libdir)/liblzma$(get_libname 0) |
112 |
-} |