diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-arch/cabextract | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-arch/cabextract')
-rw-r--r-- | app-arch/cabextract/Manifest | 3 | ||||
-rw-r--r-- | app-arch/cabextract/cabextract-1.6.ebuild | 37 | ||||
-rw-r--r-- | app-arch/cabextract/metadata.xml | 14 |
3 files changed, 54 insertions, 0 deletions
diff --git a/app-arch/cabextract/Manifest b/app-arch/cabextract/Manifest new file mode 100644 index 000000000000..5ca119f1fde3 --- /dev/null +++ b/app-arch/cabextract/Manifest @@ -0,0 +1,3 @@ +DIST cabextract-1.6.tar.gz 241731 BLAKE2B 49a94b1b0d8a6c9f61cd51280a035e3fedb8d7a2d097b132bc56114c6003a558647a7f8c47b8d08fcac1999e68bea5303adb2b03c8e6dd010995e8b0c6dcd442 SHA512 d1c71c0292e3d73d8edbff5f5230b3127c63028f5aba1d0cad968bc945202fb9c0773327affce3d28466068377f029c80735adbabe0929d29b2204dea73738f8 +EBUILD cabextract-1.6.ebuild 1115 BLAKE2B d6898fc1ef97920e8c7a54d3f79963a59f93b90b0c432f3cf088efaa202a4eb37b1385cdae1c2f91b97f3252938216f55192851291824c33c79ec02df6f7a08e SHA512 10c82fad424f0e5093816ebab945c37e88180618431be7b1068c847534ceb83e3e9ee0379862ec3dc312b65b01cfc2954d3300dd98d36455421d6814840df534 +MISC metadata.xml 497 BLAKE2B dc1c758e518500bcadecefb0a3ac5d6bcd62e97113ccf69ee034707c416e8d7e8282060609f24d2406ada0a443624600b2a9ef554c4adaa9b315a6712491213f SHA512 5e1dc4d999b091846720b303fa59358955610a73cfa15f33bd51488d32e099f1651939e903227814b90857751c1b6408280493d8a0ae3c0f94828c61db53b6e3 diff --git a/app-arch/cabextract/cabextract-1.6.ebuild b/app-arch/cabextract/cabextract-1.6.ebuild new file mode 100644 index 000000000000..da02381ab494 --- /dev/null +++ b/app-arch/cabextract/cabextract-1.6.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit toolchain-funcs + +DESCRIPTION="Extracts files from Microsoft cabinet archive files" +HOMEPAGE="https://www.cabextract.org.uk/" +SRC_URI="https://www.cabextract.org.uk/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +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" +IUSE="extras" + +RDEPEND="extras? ( dev-lang/perl )" + +src_prepare() { + # the code attempts to set up a fnmatch replacement, but then fails to code + # it properly leading to undefined references to rpl_fnmatch(). This may be + # removed in the future if building still works by setting "yes" to "no". + export ac_cv_func_fnmatch_works=yes +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + default + dodoc AUTHORS ChangeLog INSTALL NEWS README TODO doc/magic + dohtml doc/wince_cab_format.html + if use extras; then + dobin src/{wince_info,wince_rename,cabinfo,cabsplit} + fi +} diff --git a/app-arch/cabextract/metadata.xml b/app-arch/cabextract/metadata.xml new file mode 100644 index 000000000000..181a78d0cb21 --- /dev/null +++ b/app-arch/cabextract/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>fonts@gentoo.org</email> + <name>Fonts</name> + </maintainer> + <use> + <flag name="extras">Install experimental extra tools: wince_info and + wince_rename for examining and processing Windows CE installation cabinet + header files; cabinfo for examining the structure of a cab file. + </flag> + </use> +</pkgmetadata> |