summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2009-12-23 17:39:26 +0000
committerHanno Böck <hanno@gentoo.org>2009-12-23 17:39:26 +0000
commitbe8c25dbec5885bf0e73a3f31cf0af5eb02fb6ca (patch)
tree5e622b8631b4028b31f1afe50e46359b379672c2 /app-arch/unp/unp-1.0.15-r2.ebuild
parentMarked ~x86-solaris, bug #296509 (diff)
downloadgentoo-2-be8c25dbec5885bf0e73a3f31cf0af5eb02fb6ca.tar.gz
gentoo-2-be8c25dbec5885bf0e73a3f31cf0af5eb02fb6ca.tar.bz2
gentoo-2-be8c25dbec5885bf0e73a3f31cf0af5eb02fb6ca.zip
unp: support .tar.xz
(Portage version: 2.2_rc60/cvs/Linux x86_64)
Diffstat (limited to 'app-arch/unp/unp-1.0.15-r2.ebuild')
-rw-r--r--app-arch/unp/unp-1.0.15-r2.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/app-arch/unp/unp-1.0.15-r2.ebuild b/app-arch/unp/unp-1.0.15-r2.ebuild
new file mode 100644
index 000000000000..5d988c51b726
--- /dev/null
+++ b/app-arch/unp/unp-1.0.15-r2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/unp/unp-1.0.15-r2.ebuild,v 1.1 2009/12/23 17:39:25 hanno Exp $
+
+EAPI=2
+
+inherit eutils
+
+DESCRIPTION="Script for unpacking various file formats"
+HOMEPAGE="http://packages.qa.debian.org/u/unp.html"
+SRC_URI="mirror://debian/pool/main/u/unp/${PN}_${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86"
+IUSE=""
+
+DEPEND="dev-lang/perl"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-7z-lzma-xz.diff
+}
+
+src_install() {
+ dobin ucat unp || die "dobin failed"
+ doman debian/unp.1 || die "doman failed"
+}