summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2000-08-02 17:10:30 +0000
committerAchim Gottinger <achim@gentoo.org>2000-08-02 17:10:30 +0000
commitfafb59ed9878b3973aab231d8e4d71379de1ad34 (patch)
tree1726533cdac5436762969f9457d154a71665c6b6 /sys-apps/cpio
parent*** empty log message *** (diff)
downloadhistorical-fafb59ed9878b3973aab231d8e4d71379de1ad34.tar.gz
historical-fafb59ed9878b3973aab231d8e4d71379de1ad34.tar.bz2
historical-fafb59ed9878b3973aab231d8e4d71379de1ad34.zip
*** empty log message ***
Diffstat (limited to 'sys-apps/cpio')
-rw-r--r--sys-apps/cpio/cpio-2.4.2-r1.ebuild35
-rw-r--r--sys-apps/cpio/files/digest1
2 files changed, 36 insertions, 0 deletions
diff --git a/sys-apps/cpio/cpio-2.4.2-r1.ebuild b/sys-apps/cpio/cpio-2.4.2-r1.ebuild
new file mode 100644
index 000000000000..1fae7a6afbf5
--- /dev/null
+++ b/sys-apps/cpio/cpio-2.4.2-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Daniel Robbins <drobbins@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpio/cpio-2.4.2-r1.ebuild,v 1.1 2000/08/02 17:07:12 achim Exp $
+
+P="cpio-2.4.2"
+A="${P}.tar.gz"
+S=${WORKDIR}/${P}
+DESCRIPTION="A file archival tool which can also read and write tar files"
+CATEGORY="sys-apps"
+SRC_URI="ftp://prep.ai.mit.edu/gnu/cpio/"${A}
+HOMEPAGE="http://www.gnu.org/software/cpio/cpio.html"
+
+src_compile() {
+ ./configure --host=${CHOST} --prefix=/usr
+ make
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ mv rmt.c rmt.c.orig
+ sed -e "78d" rmt.c.orig > rmt.c
+ mv userspec.c userspec.c.orig
+ sed -e "85d" userspec.c.orig > userspec.c
+}
+
+src_install() {
+ into /usr
+ dobin cpio mt
+ doman cpio.1 mt.1
+ doinfo cpio.info
+ dodoc COPYING* ChangeLog NEWS README
+}
+
diff --git a/sys-apps/cpio/files/digest b/sys-apps/cpio/files/digest
new file mode 100644
index 000000000000..1707e00faef6
--- /dev/null
+++ b/sys-apps/cpio/files/digest
@@ -0,0 +1 @@
+MD5 e651ca1e1ac53aaebfa7ad256b0fe4fc cpio-2.4.2.tar.gz