summaryrefslogtreecommitdiff
path: root/converters/rpm2cpio/Makefile
diff options
context:
space:
mode:
authorkei <kei@pkgsrc.org>2001-03-07 04:24:39 +0000
committerkei <kei@pkgsrc.org>2001-03-07 04:24:39 +0000
commit97572ba62467feadb246cbe4e23cf776fd690441 (patch)
tree39ba5ef9f6ebfc1800d4fccaddbfb6a0e28240ac /converters/rpm2cpio/Makefile
parent6a377ea2dd1686a2eefb3368a89ed2c399bed1ab (diff)
downloadpkgsrc-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/Makefile')
-rw-r--r--converters/rpm2cpio/Makefile24
1 files changed, 24 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"