From 603a64ce50fa0a2bc557133095071db060c196b6 Mon Sep 17 00:00:00 2001 From: Brian Harring Date: Thu, 22 Dec 2011 00:43:15 -0800 Subject: [PATCH] cabextract: import newer version from upstream Primary change is a switch to EAPI4, largefile support, and decompression related fixes. BUG=chromium-os:24191 TEST=`emerge cabextract` # it's a host package only Change-Id: I7d33f76fa2e321fee29ad6363704325ce23ec983 Reviewed-on: https://gerrit.chromium.org/gerrit/13399 Tested-by: Brian Harring Reviewed-by: Mike Frysinger --- .../app-arch/cabextract/Manifest | 1 + .../app-arch/cabextract/cabextract-1.4.ebuild | 30 +++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/app-arch/cabextract/Manifest create mode 100644 sdk_container/src/third_party/portage-stable/app-arch/cabextract/cabextract-1.4.ebuild diff --git a/sdk_container/src/third_party/portage-stable/app-arch/cabextract/Manifest b/sdk_container/src/third_party/portage-stable/app-arch/cabextract/Manifest new file mode 100644 index 0000000000..b0d99e8e29 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-arch/cabextract/Manifest @@ -0,0 +1 @@ +DIST cabextract-1.4.tar.gz 222490 RMD160 da175f0dab84150cf0c36ac4870002b07e4774d4 SHA1 b1d5dd668d2dbe95b47aad6e92c0b7183ced70f1 SHA256 f7ba8ba2c2d71912846eaaa2bed9200a7722ef0addeec32db7471c350a48e41e diff --git a/sdk_container/src/third_party/portage-stable/app-arch/cabextract/cabextract-1.4.ebuild b/sdk_container/src/third_party/portage-stable/app-arch/cabextract/cabextract-1.4.ebuild new file mode 100644 index 0000000000..4c45922b5a --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-arch/cabextract/cabextract-1.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/cabextract/cabextract-1.4.ebuild,v 1.8 2011/08/25 12:22:12 jer Exp $ + +EAPI="4" + +DESCRIPTION="Extracts files from Microsoft .cab files" +HOMEPAGE="http://www.cabextract.org.uk/" +SRC_URI="http://www.cabextract.org.uk/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" +IUSE="extra-tools" + +RDEPEND="extra-tools? ( dev-lang/perl )" + +# 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_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog INSTALL NEWS README TODO doc/magic + dohtml doc/wince_cab_format.html + if use extra-tools; then + dobin src/{wince_info,wince_rename,cabinfo} + fi +}