summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch/par')
-rw-r--r--app-arch/par/Manifest4
-rw-r--r--app-arch/par/files/digest-par-2.0.31
-rw-r--r--app-arch/par/par-2.0.3.ebuild38
3 files changed, 41 insertions, 2 deletions
diff --git a/app-arch/par/Manifest b/app-arch/par/Manifest
index b3d766e75fab..ae5590073a97 100644
--- a/app-arch/par/Manifest
+++ b/app-arch/par/Manifest
@@ -1,5 +1,5 @@
-MD5 b039fbbbd509c40ca0fc1465f6da4418 par-2.0.3.ebuild 1056
+MD5 9c4f52fcbd3fac65a3c8622b7a08dc60 par-2.0.3.ebuild 1144
MD5 186e3d3c2f9ee0e1fcd4e9168a5d96cc par-1.1.ebuild 721
-MD5 4f54bbb75d714499318fe72f8769d851 ChangeLog 787
+MD5 6b6d9e31c40e4993366ab6a8c7df827a ChangeLog 789
MD5 9373343eb9ba09a04f7a15781438de31 files/digest-par-1.1 59
MD5 1aa64b174e55455b11c0e6492107ba10 files/digest-par-2.0.3 67
diff --git a/app-arch/par/files/digest-par-2.0.3 b/app-arch/par/files/digest-par-2.0.3
new file mode 100644
index 000000000000..ac36ab321de0
--- /dev/null
+++ b/app-arch/par/files/digest-par-2.0.3
@@ -0,0 +1 @@
+MD5 705c97bc41b862d281dd41c219a60849 par2cmdline-0.3.tar.gz 227545
diff --git a/app-arch/par/par-2.0.3.ebuild b/app-arch/par/par-2.0.3.ebuild
new file mode 100644
index 000000000000..af0537572a7d
--- /dev/null
+++ b/app-arch/par/par-2.0.3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/par/par-2.0.3.ebuild,v 1.1 2003/09/25 01:31:07 robbat2 Exp $
+
+MY_PN="par2cmdline"
+MY_PV="${PV/2./}"
+MY_P="${MY_PN}-${MY_PV}"
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="par2 is a PAR-2.0 and PAR-1 compatible file verification and repair tool."
+HOMEPAGE="http://parchive.sourceforge.net"
+SRC_URI="mirror://sourceforge/parchive/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND=""
+
+src_compile() {
+ econf || die
+ emake || die
+}
+
+src_install() {
+ einstall || die
+ local DOCLIST="AUTHORS INSTALL COPYING ChangeLog NEWS PORTING README ROADMAP"
+ chmod -x ${DOCLIST}
+ dodoc ${DOCLIST}
+ dosym /usr/bin/par2 /usr/bin/par
+ dosym /usr/bin/par2create /usr/bin/parcreate
+ dosym /usr/bin/par2verify /usr/bin/parverify
+ dosym /usr/bin/par2repair /usr/bin/parrepair
+}
+
+pkg_postinst() {
+ einfo "Use (<par{,2}create|par{,2} c> archive) to create archive"
+ einfo "Use (<par{,2}verify|par{,2} v> archive) to verify archive"
+ einfo "Use (<par{,2}repair|par{,2} r> archive) to repair archive"
+}