summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorkei <kei>2001-03-07 04:24:39 +0000
committerkei <kei>2001-03-07 04:24:39 +0000
commit7420c256e668bafb21de8b1ec7b8a8398dc50f64 (patch)
tree39ba5ef9f6ebfc1800d4fccaddbfb6a0e28240ac /converters
parentd55ba59aad75637278c18104c2547932ad6ac4cc (diff)
downloadpkgsrc-7420c256e668bafb21de8b1ec7b8a8398dc50f64.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')
-rw-r--r--converters/rpm2cpio/Makefile24
-rw-r--r--converters/rpm2cpio/files/md53
-rw-r--r--converters/rpm2cpio/pkg/DESCR10
-rw-r--r--converters/rpm2cpio/pkg/PLIST2
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