diff options
author | kei <kei@pkgsrc.org> | 2001-03-07 04:24:39 +0000 |
---|---|---|
committer | kei <kei@pkgsrc.org> | 2001-03-07 04:24:39 +0000 |
commit | 97572ba62467feadb246cbe4e23cf776fd690441 (patch) | |
tree | 39ba5ef9f6ebfc1800d4fccaddbfb6a0e28240ac /converters/rpm2cpio | |
parent | 6a377ea2dd1686a2eefb3368a89ed2c399bed1ab (diff) | |
download | pkgsrc-97572ba62467feadb246cbe4e23cf776fd690441.tar.gz |
Initial import of 'rpm2cpio' package from FreeBSD Ports collection.
rpm2cpio reads RPM archive and dumps the content to standard out as a cpio
format. It's written in Perl.
I moved its category from original place misc to converters.
Diffstat (limited to 'converters/rpm2cpio')
-rw-r--r-- | converters/rpm2cpio/Makefile | 24 | ||||
-rw-r--r-- | converters/rpm2cpio/files/md5 | 3 | ||||
-rw-r--r-- | converters/rpm2cpio/pkg/DESCR | 10 | ||||
-rw-r--r-- | converters/rpm2cpio/pkg/PLIST | 2 |
4 files changed, 39 insertions, 0 deletions
diff --git a/converters/rpm2cpio/Makefile b/converters/rpm2cpio/Makefile new file mode 100644 index 00000000000..04d38c21c45 --- /dev/null +++ b/converters/rpm2cpio/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/03/07 04:24:39 kei Exp $ +# FreeBSD Id: ports/misc/rpm2cpio/Makefile,v 1.2 1999/08/25 07:22:29 obrien Exp + +DISTNAME= rpm2cpio +PKGNAME= rpm2cpio-1.0 +CATEGORIES= misc +MASTER_SITES= http://www.iagora.com/~espel/ +EXTRACT_SUFX= # none + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.iagora.com/~espel/index.html +COMMENT= Convert .rpm files for extraction with cpio, needs just perl + +EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} . + +USE_PERL5= # defined + +do-build: + ${PERL5} -i.bak -p -e "if (1 .. 1) {s-^#!/usr/bin/perl-#!${PERL5}-;}" ${WRKDIR}/rpm2cpio + +do-install: + ${INSTALL_SCRIPT} ${WRKDIR}/rpm2cpio ${PREFIX}/bin + +.include "../../mk/bsd.pkg.mk" diff --git a/converters/rpm2cpio/files/md5 b/converters/rpm2cpio/files/md5 new file mode 100644 index 00000000000..69fd0bf95ee --- /dev/null +++ b/converters/rpm2cpio/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2001/03/07 04:24:39 kei Exp $ + +MD5 (rpm2cpio) = 60e416bc9a91870944a9fc2a6d706478 diff --git a/converters/rpm2cpio/pkg/DESCR b/converters/rpm2cpio/pkg/DESCR new file mode 100644 index 00000000000..dadcd31aaee --- /dev/null +++ b/converters/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/converters/rpm2cpio/pkg/PLIST b/converters/rpm2cpio/pkg/PLIST new file mode 100644 index 00000000000..ecb45de51f4 --- /dev/null +++ b/converters/rpm2cpio/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/07 04:24:39 kei Exp $ +bin/rpm2cpio |