summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-08-01 04:26:17 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-08-01 04:26:17 +0000
commit7998565136323e638904fe28a511f0c42f9ffe23 (patch)
tree1ed05015483fb22c02e53176994b71878ea52bee /archivers
parentUse the proper distfile (oops). (diff)
Import of rpm2cpio (perl version). Converts .rpm files for extraction
with /usr/bin/cpio. Created so there would be a lightweight version that didn't require a tonne of other requirements. PR: 12701 Submitted by: Juergen Lock <nox@jelal.kn-bremen.de>
Notes
Notes: svn path=/head/; revision=20460
Diffstat (limited to 'archivers')
-rw-r--r--archivers/rpm2cpio/Makefile29
-rw-r--r--archivers/rpm2cpio/distinfo1
-rw-r--r--archivers/rpm2cpio/pkg-comment1
-rw-r--r--archivers/rpm2cpio/pkg-descr10
-rw-r--r--archivers/rpm2cpio/pkg-plist1
5 files changed, 42 insertions, 0 deletions
diff --git a/archivers/rpm2cpio/Makefile b/archivers/rpm2cpio/Makefile
new file mode 100644
index 000000000000..3a3040ef2504
--- /dev/null
+++ b/archivers/rpm2cpio/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: rpm2cpio
+# Version required: #no version#
+# Date created: Sun Jul 18 21:51:23 MET DST 1999
+# Whom: Juergen Lock <nox@jelal.kn-bremen.de>
+#
+# $Id$
+#
+
+DISTNAME= rpm2cpio
+PKGNAME= rpm2cpio-1.0
+CATEGORIES= misc
+MASTER_SITES= http://www.eleves.ens.fr:8080/home/espel/
+EXTRACT_SUFX=
+
+MAINTAINER= nox@jelal.kn-bremen.de
+
+EXTRACT_CMD= ${CP}
+EXTRACT_BEFORE_ARGS=
+EXTRACT_AFTER_ARGS= .
+
+USE_PERL5= yes
+
+do-build:
+ ${PERL5} -i.bak -p -e "if (1 .. 1) {s-^#!/usr/bin/perl-#!${PERL}-;}" ${WRKDIR}/rpm2cpio
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKDIR}/rpm2cpio ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/archivers/rpm2cpio/distinfo b/archivers/rpm2cpio/distinfo
new file mode 100644
index 000000000000..3826d22cad02
--- /dev/null
+++ b/archivers/rpm2cpio/distinfo
@@ -0,0 +1 @@
+MD5 (rpm2cpio) = d23f66e1c734a44ce6ee89b0e724b371
diff --git a/archivers/rpm2cpio/pkg-comment b/archivers/rpm2cpio/pkg-comment
new file mode 100644
index 000000000000..8aa8b0dc016d
--- /dev/null
+++ b/archivers/rpm2cpio/pkg-comment
@@ -0,0 +1 @@
+Convert .rpm files for extraction with /usr/bin/cpio, needs just perl
diff --git a/archivers/rpm2cpio/pkg-descr b/archivers/rpm2cpio/pkg-descr
new file mode 100644
index 000000000000..dadcd31aaee9
--- /dev/null
+++ b/archivers/rpm2cpio/pkg-descr
@@ -0,0 +1,10 @@
+Convert .rpm files for extraction with /usr/bin/cpio
+
+Quoting the author:
+
+why does the world need another rpm2cpio? because the existing one
+won't build unless you have half a ton of things that aren't really
+required for it, since it uses the same library used to extract RPM's.
+in particular, it won't build on the HPsUX box i'm on.
+
+(this one needs just perl)
diff --git a/archivers/rpm2cpio/pkg-plist b/archivers/rpm2cpio/pkg-plist
new file mode 100644
index 000000000000..2a1399eaaa02
--- /dev/null
+++ b/archivers/rpm2cpio/pkg-plist
@@ -0,0 +1 @@
+bin/rpm2cpio