summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-02-07 15:55:15 +0000
committerAchim Gottinger <achim@gentoo.org>2001-02-07 15:55:15 +0000
commit36d7d63fc8e533a54bc3008fe078d25b06cc0d55 (patch)
treebbf6a3f305a5e307e2b8b191680365bd8b5a23b2 /sys-apps/cpio
parent*** empty log message *** (diff)
downloadgentoo-2-36d7d63fc8e533a54bc3008fe078d25b06cc0d55.tar.gz
gentoo-2-36d7d63fc8e533a54bc3008fe078d25b06cc0d55.tar.bz2
gentoo-2-36d7d63fc8e533a54bc3008fe078d25b06cc0d55.zip
Maintainence and FHS 2.1 fixes for RC4
Diffstat (limited to 'sys-apps/cpio')
-rw-r--r--sys-apps/cpio/cpio-2.4.2-r3.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/sys-apps/cpio/cpio-2.4.2-r3.ebuild b/sys-apps/cpio/cpio-2.4.2-r3.ebuild
new file mode 100644
index 000000000000..35fa44950604
--- /dev/null
+++ b/sys-apps/cpio/cpio-2.4.2-r3.ebuild
@@ -0,0 +1,47 @@
+# 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-r3.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+
+
+A="${P}.tar.gz"
+S=${WORKDIR}/${P}
+DESCRIPTION="A file archival tool which can also read and write tar files"
+SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/cpio/${A}
+ ftp://prep.ai.mit.edu/gnu/cpio/${A}"
+
+HOMEPAGE="http://www.gnu.org/software/cpio/cpio.html"
+
+DEPEND="virtual/glibc"
+
+RDEPEND="virtual/glibc
+ sys-apps/star"
+
+src_compile() {
+
+ try ./configure --host=${CHOST} --prefix=/usr
+ try pmake
+
+}
+
+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() {
+
+ #dobin cpio mt; now we're using Schilly's enhanced mt from star
+ dobin cpio
+ doman cpio.1
+ doinfo cpio.info
+
+ dodoc COPYING* ChangeLog NEWS README
+
+}
+