Update to 1.1:

# sw 2002-Mar-6 Don't slurp the whole file

Convert to buildlink2. Add comment why the file gets installed as rpm2cpio.pl.
Closes PR 18581.
This commit is contained in:
wiz 2002-10-18 12:30:45 +00:00
parent b5f191b136
commit 27b2b7e026
2 changed files with 8 additions and 8 deletions

View file

@ -1,9 +1,8 @@
# $NetBSD: Makefile,v 1.9 2001/11/29 01:12:28 hubertf Exp $
# $NetBSD: Makefile,v 1.10 2002/10/18 12:30:45 wiz Exp $
# FreeBSD Id: ports/misc/rpm2cpio/Makefile,v 1.2 1999/08/25 07:22:29 obrien Exp
DISTNAME= rpm2cpio
PKGNAME= rpm2cpio-1.0
PKGREVISION= 1
PKGNAME= rpm2cpio-1.1
CATEGORIES= misc
MASTER_SITES= http://www.iagora.com/~espel/
EXTRACT_SUFX= # none
@ -12,7 +11,7 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.iagora.com/~espel/index.html
COMMENT= Convert .rpm files for extraction with cpio, needs just perl
USE_BUILDLINK_ONLY= YES
USE_BUILDLINK2= YES
DIST_SUBDIR= ${PKGNAME}
REPLACE_PERL= rpm2cpio
@ -21,8 +20,9 @@ EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} .
WRKSRC= ${WRKDIR}
NO_BUILD= YES
# conflicts with rpm package, which also contains a rpm2cpio
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/rpm2cpio ${PREFIX}/bin/rpm2cpio.pl
.include "../../lang/perl5/buildlink.mk"
.include "../../lang/perl5/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.4 2001/10/24 00:38:51 wiz Exp $
$NetBSD: distinfo,v 1.5 2002/10/18 12:30:45 wiz Exp $
SHA1 (rpm2cpio-1.0nb1/rpm2cpio) = 219198c7004dbf0d8a3067c7fca8bf5522ccf38c
Size (rpm2cpio-1.0nb1/rpm2cpio) = 2691 bytes
SHA1 (rpm2cpio-1.1/rpm2cpio) = eb0175ecaf6f8b5386fed8b51f4edfc1441d7697
Size (rpm2cpio-1.1/rpm2cpio) = 3114 bytes