1 |
commit: 56249a9e74ddc0b3415e4c07b488661f014755f6 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 26 11:55:09 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 26 11:55:23 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56249a9e |
7 |
|
8 |
app-arch/cabextract: Bump to version 1.7 |
9 |
|
10 |
Package-Manager: Portage-2.3.43, Repoman-2.3.10 |
11 |
|
12 |
app-arch/cabextract/Manifest | 1 + |
13 |
app-arch/cabextract/cabextract-1.7.ebuild | 39 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/app-arch/cabextract/Manifest b/app-arch/cabextract/Manifest |
17 |
index d0876de3769..f019850002c 100644 |
18 |
--- a/app-arch/cabextract/Manifest |
19 |
+++ b/app-arch/cabextract/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST cabextract-1.6.tar.gz 241731 BLAKE2B 49a94b1b0d8a6c9f61cd51280a035e3fedb8d7a2d097b132bc56114c6003a558647a7f8c47b8d08fcac1999e68bea5303adb2b03c8e6dd010995e8b0c6dcd442 SHA512 d1c71c0292e3d73d8edbff5f5230b3127c63028f5aba1d0cad968bc945202fb9c0773327affce3d28466068377f029c80735adbabe0929d29b2204dea73738f8 |
22 |
+DIST cabextract-1.7.tar.gz 293760 BLAKE2B d5ab4783c944d5d8b1d9ed8a2fbbfd60aeeab9f12b836032f982efc5721055b2caa521147246b3b5274d9456b1dbd2d513455cfd57750cf6d7fdc18f109f96c9 SHA512 63789e485d57299f2a0a60dc6d9a94e83639eb59b73789eff52977d3d3bd37a1c00713c86a4c6289e35541d0b7240ea0545ba84013713c070b4324ae1f2865ce |
23 |
|
24 |
diff --git a/app-arch/cabextract/cabextract-1.7.ebuild b/app-arch/cabextract/cabextract-1.7.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..694d49c73d7 |
27 |
--- /dev/null |
28 |
+++ b/app-arch/cabextract/cabextract-1.7.ebuild |
29 |
@@ -0,0 +1,39 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+inherit toolchain-funcs |
36 |
+ |
37 |
+DESCRIPTION="Extracts files from Microsoft cabinet archive files" |
38 |
+HOMEPAGE="https://www.cabextract.org.uk/" |
39 |
+SRC_URI="https://www.cabextract.org.uk/${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="GPL-3" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
44 |
+IUSE="extras" |
45 |
+ |
46 |
+RDEPEND="extras? ( dev-lang/perl )" |
47 |
+ |
48 |
+src_prepare() { |
49 |
+ default |
50 |
+ # the code attempts to set up a fnmatch replacement, but then fails to code |
51 |
+ # it properly leading to undefined references to rpl_fnmatch(). This may be |
52 |
+ # removed in the future if building still works by setting "yes" to "no". |
53 |
+ export ac_cv_func_fnmatch_works=yes |
54 |
+} |
55 |
+ |
56 |
+src_compile() { |
57 |
+ emake AR="$(tc-getAR)" |
58 |
+} |
59 |
+ |
60 |
+src_install() { |
61 |
+ local DOCS=( AUTHORS ChangeLog INSTALL NEWS README TODO doc/magic ) |
62 |
+ default |
63 |
+ docinto html |
64 |
+ dodoc doc/wince_cab_format.html |
65 |
+ if use extras; then |
66 |
+ dobin src/{wince_info,wince_rename,cabinfo,cabsplit} |
67 |
+ fi |
68 |
+} |