summaryrefslogtreecommitdiff
path: root/converters/rpm2cpio/Makefile
blob: d17ad3399fd99ee5d6f3c65590f05e31a5da84d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $NetBSD: Makefile,v 1.31 2015/06/12 10:48:34 wiz Exp $

DISTNAME=	rpm2cpio-1.3
PKGREVISION=	1
CATEGORIES=	converters
MASTER_SITES=	-https://svnweb.freebsd.org/ports/head/archivers/rpm2cpio/files/rpm2cpio?revision=340851&view=co
EXTRACT_SUFX=	# none

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://svnweb.freebsd.org/ports/head/archivers/rpm2cpio/
COMMENT=	Convert .rpm files for extraction with cpio, needs just perl

WRKSRC=		${WRKDIR}

USE_TOOLS+=	perl:run
REPLACE_PERL=	${PKGNAME_NOREV}

INSTALLATION_DIRS=	bin

# There is nothing to build
do-build:

# conflicts with rpm package, which also contains a rpm2cpio
do-install:
	${INSTALL_SCRIPT} ${WRKDIR}/${PKGNAME_NOREV} ${DESTDIR}${PREFIX}/bin/rpm2cpio.pl

.include "../../mk/bsd.pkg.mk"