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 <ferringb@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
Brian Harring 2011-12-22 00:43:15 -08:00
parent a23e463044
commit 603a64ce50
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST cabextract-1.4.tar.gz 222490 RMD160 da175f0dab84150cf0c36ac4870002b07e4774d4 SHA1 b1d5dd668d2dbe95b47aad6e92c0b7183ced70f1 SHA256 f7ba8ba2c2d71912846eaaa2bed9200a7722ef0addeec32db7471c350a48e41e

View File

@ -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
}