1 |
commit: 411e46dc2783f1cee607da76a6bc533fbd016bb7 |
2 |
Author: NP-Hardass <NP-Hardass <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 26 17:48:13 2016 +0000 |
4 |
Commit: NP Hardass <np-hardass <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 26 17:56:31 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=411e46dc |
7 |
|
8 |
app-arch/libarchive: Drop old |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
app-arch/libarchive/libarchive-3.2.1-r1.ebuild | 121 ------------------------- |
13 |
1 file changed, 121 deletions(-) |
14 |
|
15 |
diff --git a/app-arch/libarchive/libarchive-3.2.1-r1.ebuild b/app-arch/libarchive/libarchive-3.2.1-r1.ebuild |
16 |
deleted file mode 100644 |
17 |
index ccdafb6..0000000 |
18 |
--- a/app-arch/libarchive/libarchive-3.2.1-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,121 +0,0 @@ |
21 |
-# Copyright 1999-2016 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI=6 |
26 |
-inherit autotools eutils multilib-minimal toolchain-funcs |
27 |
- |
28 |
-DESCRIPTION="BSD tar command" |
29 |
-HOMEPAGE="http://www.libarchive.org/" |
30 |
-SRC_URI="http://www.libarchive.org/downloads/${P}.tar.gz" |
31 |
- |
32 |
-LICENSE="BSD BSD-2 BSD-4 public-domain" |
33 |
-SLOT="0/13" |
34 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
35 |
-IUSE="acl +bzip2 +e2fsprogs expat +iconv kernel_linux libressl lz4 +lzma lzo nettle static-libs xattr +zlib" |
36 |
- |
37 |
-RDEPEND=" |
38 |
- acl? ( virtual/acl[${MULTILIB_USEDEP}] ) |
39 |
- bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] ) |
40 |
- expat? ( dev-libs/expat[${MULTILIB_USEDEP}] ) |
41 |
- !expat? ( dev-libs/libxml2[${MULTILIB_USEDEP}] ) |
42 |
- iconv? ( virtual/libiconv[${MULTILIB_USEDEP}] ) |
43 |
- kernel_linux? ( |
44 |
- xattr? ( sys-apps/attr[${MULTILIB_USEDEP}] ) |
45 |
- ) |
46 |
- !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] ) |
47 |
- libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] ) |
48 |
- lz4? ( >=app-arch/lz4-0_p131:0=[${MULTILIB_USEDEP}] ) |
49 |
- lzma? ( app-arch/xz-utils[${MULTILIB_USEDEP}] ) |
50 |
- lzo? ( >=dev-libs/lzo-2[${MULTILIB_USEDEP}] ) |
51 |
- nettle? ( dev-libs/nettle:0=[${MULTILIB_USEDEP}] ) |
52 |
- zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )" |
53 |
-DEPEND="${RDEPEND} |
54 |
- kernel_linux? ( |
55 |
- virtual/os-headers |
56 |
- e2fsprogs? ( sys-fs/e2fsprogs ) |
57 |
- )" |
58 |
- |
59 |
-PATCHES=( "${FILESDIR}/${P}-fix-tests-gnu99.patch" ) |
60 |
- |
61 |
-src_prepare() { |
62 |
- default |
63 |
- eautoreconf |
64 |
-} |
65 |
- |
66 |
-multilib_src_configure() { |
67 |
- export ac_cv_header_ext2fs_ext2_fs_h=$(usex e2fsprogs) #354923 |
68 |
- |
69 |
- local myconf=() |
70 |
- myconf=( |
71 |
- $(use_enable acl) |
72 |
- $(use_enable static-libs static) |
73 |
- $(use_enable xattr) |
74 |
- $(use_with bzip2 bz2lib) |
75 |
- $(use_with expat) |
76 |
- $(use_with !expat xml2) |
77 |
- $(use_with iconv) |
78 |
- $(use_with lz4) |
79 |
- $(use_with lzma) |
80 |
- $(use_with lzo lzo2) |
81 |
- $(use_with nettle) |
82 |
- $(use_with zlib) |
83 |
- ) |
84 |
- if multilib_is_native_abi ; then myconf+=( |
85 |
- --enable-bsdcat=$(tc-is-static-only && echo static || echo shared) |
86 |
- --enable-bsdcpio=$(tc-is-static-only && echo static || echo shared) |
87 |
- --enable-bsdtar=$(tc-is-static-only && echo static || echo shared) |
88 |
- ); else myconf+=( |
89 |
- --disable-bsdcat |
90 |
- --disable-bsdcpio |
91 |
- --disable-bsdtar |
92 |
- ); fi |
93 |
- |
94 |
- # We disable lzmadec because we support the newer liblzma from xz-utils |
95 |
- # and not liblzmadec with this version. |
96 |
- myconf+=( |
97 |
- --without-lzmadec |
98 |
- ) |
99 |
- |
100 |
- ECONF_SOURCE="${S}" econf "${myconf[@]}" |
101 |
-} |
102 |
- |
103 |
-multilib_src_compile() { |
104 |
- if multilib_is_native_abi ; then |
105 |
- emake |
106 |
- else |
107 |
- emake libarchive.la |
108 |
- fi |
109 |
-} |
110 |
- |
111 |
-multilib_src_test() { |
112 |
- # Replace the default src_test so that it builds tests in parallel |
113 |
- multilib_is_native_abi && emake check |
114 |
-} |
115 |
- |
116 |
-multilib_src_install() { |
117 |
- if multilib_is_native_abi ; then |
118 |
- emake DESTDIR="${D}" install |
119 |
- |
120 |
- # Create tar symlink for FreeBSD |
121 |
- if ! use prefix && [[ ${CHOST} == *-freebsd* ]]; then |
122 |
- dosym bsdtar /usr/bin/tar |
123 |
- echo '.so bsdtar.1' > "${T}"/tar.1 |
124 |
- doman "${T}"/tar.1 |
125 |
- # We may wish to switch to symlink bsdcpio to cpio too one day |
126 |
- fi |
127 |
- else |
128 |
- emake DESTDIR="${D}" \ |
129 |
- install-includeHEADERS \ |
130 |
- install-libLTLIBRARIES \ |
131 |
- install-pkgconfigDATA |
132 |
- fi |
133 |
- |
134 |
- # Libs.private: should be used from libarchive.pc instead |
135 |
- prune_libtool_files |
136 |
-} |
137 |
- |
138 |
-multilib_src_install_all() { |
139 |
- cd "${S}" || die |
140 |
- einstalldocs |
141 |
-} |