/[gentoo-x86]/app-arch/cabextract/cabextract-1.3.ebuild
Gentoo

Contents of /app-arch/cabextract/cabextract-1.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Tue Sep 28 20:33:31 2010 UTC (4 years, 7 months ago) by vapier
Branch: MAIN
Changes since 1.6: +6 -1 lines
Fix building for systems with crappy fnmatch and/or cross-compiling.

(Portage version: 2.2_rc86/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-arch/cabextract/cabextract-1.3.ebuild,v 1.6 2010/08/03 17:19:45 ranger Exp $
4
5 DESCRIPTION="Extracts files from Microsoft .cab files"
6 HOMEPAGE="http://www.cabextract.org.uk/"
7 SRC_URI="http://www.cabextract.org.uk/${P}.tar.gz"
8
9 LICENSE="GPL-3"
10 SLOT="0"
11 KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
12 IUSE="extra-tools"
13
14 RDEPEND="extra-tools? ( dev-lang/perl )"
15
16 # the code attempts to set up a fnmatch replacement, but then fails to code
17 # it properly leading to undefined references to rpl_fnmatch(). This may be
18 # removed in the future if building still works by setting "yes" to "no".
19 export ac_cv_func_fnmatch_works=yes
20
21 src_install() {
22 emake DESTDIR="${D}" install || die "emake failed"
23 dodoc AUTHORS ChangeLog INSTALL NEWS README TODO doc/magic
24 dohtml doc/wince_cab_format.html
25 if use extra-tools; then
26 dobin src/{wince_info,wince_rename,cabinfo} || die
27 fi
28 }

  ViewVC Help
Powered by ViewVC 1.1.20