summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2009-01-11 16:12:23 +0000
committerPeter Volkov <pva@gentoo.org>2009-01-11 16:12:23 +0000
commit610ffd74d01b53740df3d7824a13b8be941e5805 (patch)
tree5abd37995fd1fcdffca74666bde1024a90af4f1a /app-arch/cabextract
parentStable for HPPA (bug #244707). (diff)
downloadgentoo-2-610ffd74d01b53740df3d7824a13b8be941e5805.tar.gz
gentoo-2-610ffd74d01b53740df3d7824a13b8be941e5805.tar.bz2
gentoo-2-610ffd74d01b53740df3d7824a13b8be941e5805.zip
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)
Diffstat (limited to 'app-arch/cabextract')
-rw-r--r--app-arch/cabextract/ChangeLog11
-rw-r--r--app-arch/cabextract/cabextract-1.2-r1.ebuild23
-rw-r--r--app-arch/cabextract/metadata.xml5
3 files changed, 37 insertions, 2 deletions
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 <pva@gentoo.org> 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 <pva@gentoo.org> 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 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>fonts</herd>
+<use>
+ <flag name="extra-tools">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.</flag>
+</use>
</pkgmetadata>