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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Wed May 9 16:50:03 2012 UTC (2 years, 7 months ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +2 -2 lines
keyword ~amd64-fbsd

(Portage version: 2.2.0_alpha102/cvs/Linux x86_64)

1 # Copyright 1999-2012 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.4.ebuild,v 1.10 2012/04/23 22:39:28 vapier Exp $
4
5 EAPI="4"
6
7 inherit toolchain-funcs
8
9 DESCRIPTION="Extracts files from Microsoft .cab files"
10 HOMEPAGE="http://www.cabextract.org.uk/"
11 SRC_URI="http://www.cabextract.org.uk/${P}.tar.gz"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
16 IUSE="extra-tools"
17
18 RDEPEND="extra-tools? ( dev-lang/perl )"
19
20 # the code attempts to set up a fnmatch replacement, but then fails to code
21 # it properly leading to undefined references to rpl_fnmatch(). This may be
22 # removed in the future if building still works by setting "yes" to "no".
23 export ac_cv_func_fnmatch_works=yes
24
25 src_compile() {
26 emake AR="$(tc-getAR)"
27 }
28
29 src_install() {
30 emake DESTDIR="${D}" install
31 dodoc AUTHORS ChangeLog INSTALL NEWS README TODO doc/magic
32 dohtml doc/wince_cab_format.html
33 if use extra-tools; then
34 dobin src/{wince_info,wince_rename,cabinfo}
35 fi
36 }

  ViewVC Help
Powered by ViewVC 1.1.20