From 610ffd74d01b53740df3d7824a13b8be941e5805 Mon Sep 17 00:00:00 2001 From: Peter Volkov Date: Sun, 11 Jan 2009 16:12:23 +0000 Subject: Added extra-tools USE flag to install experimental tools: wince_info, wince_rename and cabinet, bug #253245, thank Andrej Gelenberg for report. (Portage version: 2.1.6.4/cvs/Linux 2.6.26-gentoo-r4 x86_64) --- app-arch/cabextract/ChangeLog | 11 +++++++++-- app-arch/cabextract/cabextract-1.2-r1.ebuild | 23 +++++++++++++++++++++++ app-arch/cabextract/metadata.xml | 5 +++++ 3 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 app-arch/cabextract/cabextract-1.2-r1.ebuild diff --git a/app-arch/cabextract/ChangeLog b/app-arch/cabextract/ChangeLog index ad1db3b4299a..a980542e0349 100644 --- a/app-arch/cabextract/ChangeLog +++ b/app-arch/cabextract/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-arch/cabextract -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/cabextract/ChangeLog,v 1.48 2008/11/08 11:46:24 pva Exp $ +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/cabextract/ChangeLog,v 1.49 2009/01/11 16:12:23 pva Exp $ + +*cabextract-1.2-r1 (11 Jan 2009) + + 11 Jan 2009; Peter Volkov metadata.xml, + +cabextract-1.2-r1.ebuild: + Added extra-tools USE flag to install experimental tools: wince_info, + wince_rename and cabinet, bug #253245, thank Andrej Gelenberg for report. 08 Nov 2008; Peter Volkov cabextract-1.2.ebuild: There is no stable mips tree any more, dropped stable on mips. diff --git a/app-arch/cabextract/cabextract-1.2-r1.ebuild b/app-arch/cabextract/cabextract-1.2-r1.ebuild new file mode 100644 index 000000000000..15091b5cb9ba --- /dev/null +++ b/app-arch/cabextract/cabextract-1.2-r1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/cabextract/cabextract-1.2-r1.ebuild,v 1.1 2009/01/11 16:12:23 pva Exp $ + +DESCRIPTION="Extracts files from Microsoft .cab files" +HOMEPAGE="http://www.cabextract.org.uk/" +SRC_URI="http://www.kyz.uklinux.net/downloads/${P}.tar.gz" + +LICENSE="GPL-2" +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 )" + +src_install() { + emake DESTDIR="${D}" install || die "emake failed" + 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} || die + fi +} diff --git a/app-arch/cabextract/metadata.xml b/app-arch/cabextract/metadata.xml index 696065edd338..1acfbec9e034 100644 --- a/app-arch/cabextract/metadata.xml +++ b/app-arch/cabextract/metadata.xml @@ -2,4 +2,9 @@ fonts + + Install experimental 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. + -- cgit v1.2.3-65-gdbad