diff options
author | cpiazza <cpiazza@FreeBSD.org> | 1999-08-01 12:26:17 +0800 |
---|---|---|
committer | cpiazza <cpiazza@FreeBSD.org> | 1999-08-01 12:26:17 +0800 |
commit | 248259dc95d1f28b896a746ea5678a6c1c5e3f7b (patch) | |
tree | 3f81ce0858f18ce7dbaa666fed869c90b7c5c91b /archivers | |
parent | 9e2ac7b05e3e32d6dfac7b306b3425132c07facf (diff) | |
download | freebsd-ports-gnome-248259dc95d1f28b896a746ea5678a6c1c5e3f7b.tar.gz freebsd-ports-gnome-248259dc95d1f28b896a746ea5678a6c1c5e3f7b.tar.zst freebsd-ports-gnome-248259dc95d1f28b896a746ea5678a6c1c5e3f7b.zip |
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')
-rw-r--r-- | archivers/rpm2cpio/Makefile | 29 | ||||
-rw-r--r-- | archivers/rpm2cpio/distinfo | 1 | ||||
-rw-r--r-- | archivers/rpm2cpio/pkg-comment | 1 | ||||
-rw-r--r-- | archivers/rpm2cpio/pkg-descr | 10 | ||||
-rw-r--r-- | archivers/rpm2cpio/pkg-plist | 1 |
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 |