summaryrefslogtreecommitdiffstats
path: root/archivers/rpm2cpio
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>1999-08-01 04:26:17 +0000
committercpiazza <cpiazza@FreeBSD.org>1999-08-01 04:26:17 +0000
commit248259dc95d1f28b896a746ea5678a6c1c5e3f7b (patch)
tree3f81ce0858f18ce7dbaa666fed869c90b7c5c91b /archivers/rpm2cpio
parent9e2ac7b05e3e32d6dfac7b306b3425132c07facf (diff)
downloadFreeBSD-ports-248259dc95d1f28b896a746ea5678a6c1c5e3f7b.zip
FreeBSD-ports-248259dc95d1f28b896a746ea5678a6c1c5e3f7b.tar.gz
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>
Diffstat (limited to 'archivers/rpm2cpio')
-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 0000000..3a3040e
--- /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 0000000..3826d22
--- /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 0000000..8aa8b0d
--- /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 0000000..dadcd31
--- /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 0000000..2a1399e
--- /dev/null
+++ b/archivers/rpm2cpio/pkg-plist
@@ -0,0 +1 @@
+bin/rpm2cpio
OpenPOWER on IntegriCloud