pkgsrc/pkgtools/rpm2pkg/Makefile

34 lines
797 B
Makefile
Raw Normal View History

2003-07-18 00:50:55 +02:00
# $NetBSD: Makefile,v 1.19 2003/07/17 22:52:19 grant Exp $
DISTNAME= rpm2pkg-1.3
2003-07-13 15:50:19 +02:00
PKGREVISION= 1
WRKSRC= ${WRKDIR}
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
COMMENT= Convert RPM archives to NetBSD packages
CONFLICTS+= suse-base<=6.4
USE_BUILDLINK2= YES
NO_CHECKSUM= YES
CFLAGS+= ${BUILDLINK_CPPFLAGS.rpm}
LIBS= -lrpm -lintl -lz
do-build:
${BUILDLINK_CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/rpm2pkg \
${FILESDIR}/rpm2pkg.c ${LIBS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rpm2pkg ${PREFIX}/sbin
2001-01-28 11:44:39 +01:00
${INSTALL_MAN} ${FILESDIR}/rpm2pkg.8 ${PREFIX}/man/man8
.include "../../devel/zlib/buildlink2.mk"
.include "../../misc/rpm/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"