31 lines
750 B
Makefile
31 lines
750 B
Makefile
# $NetBSD: Makefile,v 1.21 2005/06/16 06:57:43 jlam Exp $
|
|
|
|
DISTNAME= rpm2cpio
|
|
PKGNAME= rpm2cpio-1.1
|
|
PKGREVISION= 1
|
|
CATEGORIES= converters
|
|
MASTER_SITES= http://www.iagora.com/~espel/
|
|
EXTRACT_SUFX= # none
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www.iagora.com/~espel/hacks.html
|
|
COMMENT= Convert .rpm files for extraction with cpio, needs just perl
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}
|
|
REPLACE_PERL= rpm2cpio
|
|
|
|
EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} .
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
# There is nothing to build
|
|
do-build:
|
|
|
|
# conflicts with rpm package, which also contains a rpm2cpio
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/rpm2cpio ${PREFIX}/bin/rpm2cpio.pl
|
|
|
|
.include "../../lang/perl5/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|