From 248259dc95d1f28b896a746ea5678a6c1c5e3f7b Mon Sep 17 00:00:00 2001 From: cpiazza Date: Sun, 1 Aug 1999 04:26:17 +0000 Subject: 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 --- misc/rpm2cpio/Makefile | 29 +++++++++++++++++++++++++++++ misc/rpm2cpio/distinfo | 1 + misc/rpm2cpio/pkg-comment | 1 + misc/rpm2cpio/pkg-descr | 10 ++++++++++ misc/rpm2cpio/pkg-plist | 1 + 5 files changed, 42 insertions(+) create mode 100644 misc/rpm2cpio/Makefile create mode 100644 misc/rpm2cpio/distinfo create mode 100644 misc/rpm2cpio/pkg-comment create mode 100644 misc/rpm2cpio/pkg-descr create mode 100644 misc/rpm2cpio/pkg-plist (limited to 'misc/rpm2cpio') diff --git a/misc/rpm2cpio/Makefile b/misc/rpm2cpio/Makefile new file mode 100644 index 000000000000..3a3040ef2504 --- /dev/null +++ b/misc/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 +# +# $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 diff --git a/misc/rpm2cpio/distinfo b/misc/rpm2cpio/distinfo new file mode 100644 index 000000000000..3826d22cad02 --- /dev/null +++ b/misc/rpm2cpio/distinfo @@ -0,0 +1 @@ +MD5 (rpm2cpio) = d23f66e1c734a44ce6ee89b0e724b371 diff --git a/misc/rpm2cpio/pkg-comment b/misc/rpm2cpio/pkg-comment new file mode 100644 index 000000000000..8aa8b0dc016d --- /dev/null +++ b/misc/rpm2cpio/pkg-comment @@ -0,0 +1 @@ +Convert .rpm files for extraction with /usr/bin/cpio, needs just perl diff --git a/misc/rpm2cpio/pkg-descr b/misc/rpm2cpio/pkg-descr new file mode 100644 index 000000000000..dadcd31aaee9 --- /dev/null +++ b/misc/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/misc/rpm2cpio/pkg-plist b/misc/rpm2cpio/pkg-plist new file mode 100644 index 000000000000..2a1399eaaa02 --- /dev/null +++ b/misc/rpm2cpio/pkg-plist @@ -0,0 +1 @@ +bin/rpm2cpio -- cgit