pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters/rpm2cpio DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ab0d9a77aea0
branches:  trunk
changeset: 522621:ab0d9a77aea0
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Dec 15 18:03:42 2006 +0000

description:
DESTDIR support.

diffstat:

 converters/rpm2cpio/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r ee5a1342297a -r ab0d9a77aea0 converters/rpm2cpio/Makefile
--- a/converters/rpm2cpio/Makefile      Fri Dec 15 17:35:20 2006 +0000
+++ b/converters/rpm2cpio/Makefile      Fri Dec 15 18:03:42 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2006/03/04 21:29:06 jlam Exp $
+# $NetBSD: Makefile,v 1.25 2006/12/15 18:03:42 joerg Exp $
 
 DISTNAME=      rpm2cpio
 PKGNAME=       rpm2cpio-1.1
@@ -11,6 +11,8 @@
 HOMEPAGE=      http://www.iagora.com/~espel/hacks.html
 COMMENT=       Convert .rpm files for extraction with cpio, needs just perl
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 WRKSRC=                ${WRKDIR}
 
 DIST_SUBDIR=   ${PKGNAME_NOREV}
@@ -24,6 +26,6 @@
 
 # conflicts with rpm package, which also contains a rpm2cpio
 do-install:
-       ${INSTALL_SCRIPT} ${WRKDIR}/rpm2cpio ${PREFIX}/bin/rpm2cpio.pl
+       ${INSTALL_SCRIPT} ${WRKDIR}/rpm2cpio ${DESTDIR}${PREFIX}/bin/rpm2cpio.pl
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index