2003-07-18 00:50:55 +02:00
|
|
|
# $NetBSD: Makefile,v 1.19 2003/07/17 22:52:19 grant Exp $
|
2001-01-25 09:57:53 +01:00
|
|
|
|
2002-12-09 16:16:26 +01:00
|
|
|
DISTNAME= rpm2pkg-1.3
|
2003-07-13 15:50:19 +02:00
|
|
|
PKGREVISION= 1
|
2003-03-29 13:40:00 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
2001-01-25 09:57:53 +01:00
|
|
|
CATEGORIES= pkgtools
|
|
|
|
MASTER_SITES= # empty
|
|
|
|
DISTFILES= # empty
|
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= tron@NetBSD.org
|
|
|
|
HOMEPAGE= ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/Packages.txt
|
2001-02-17 18:42:09 +01:00
|
|
|
COMMENT= Convert RPM archives to NetBSD packages
|
2001-01-25 09:57:53 +01:00
|
|
|
|
|
|
|
CONFLICTS+= suse-base<=6.4
|
|
|
|
|
2002-08-25 21:43:33 +02:00
|
|
|
USE_BUILDLINK2= YES
|
|
|
|
NO_CHECKSUM= YES
|
2001-06-18 23:32:23 +02:00
|
|
|
|
2002-10-21 01:23:53 +02:00
|
|
|
CFLAGS+= ${BUILDLINK_CPPFLAGS.rpm}
|
|
|
|
LIBS= -lrpm -lintl -lz
|
2001-01-25 09:57:53 +01:00
|
|
|
|
|
|
|
do-build:
|
2002-09-19 04:46:07 +02:00
|
|
|
${BUILDLINK_CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/rpm2pkg \
|
|
|
|
${FILESDIR}/rpm2pkg.c ${LIBS}
|
2001-01-25 09:57:53 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/rpm2pkg ${PREFIX}/sbin
|
2001-01-28 11:44:39 +01:00
|
|
|
${INSTALL_MAN} ${FILESDIR}/rpm2pkg.8 ${PREFIX}/man/man8
|
2001-01-25 09:57:53 +01:00
|
|
|
|
2002-08-25 21:43:33 +02:00
|
|
|
.include "../../devel/zlib/buildlink2.mk"
|
|
|
|
.include "../../misc/rpm/buildlink2.mk"
|
|
|
|
|
2001-01-25 09:57:53 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|