44a715b2b3
- Make kern-GENERIC.tgz part of the default SETS value, so that we get a kernel inside the chroot. If the user removes it from the list, and no /netbsd file exists after extraction, create an empty /netbsd kernel. This fixes packages that look for a kernel during compilation, like net-snmp. Found by cube@.
27 lines
617 B
Makefile
27 lines
617 B
Makefile
# $NetBSD: Makefile,v 1.25 2004/04/02 18:03:01 jmmv Exp $
|
|
|
|
DISTNAME= pkg_comp-1.18
|
|
CATEGORIES= pkgtools
|
|
MASTER_SITES= # empty
|
|
DISTFILES= # empty
|
|
|
|
MAINTAINER= jmmv@NetBSD.org
|
|
COMMENT= Build packages inside a chroot jail
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
ONLY_FOR_PLATFORM= NetBSD-*-*
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
EXTRACT_ONLY= # empty
|
|
NO_CHECKSUM= YES
|
|
NO_CONFIGURE= YES
|
|
NO_BUILDLINK= YES
|
|
NO_BUILD= YES
|
|
|
|
INSTALLATION_DIRS= man/man8 sbin
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${FILESDIR}/pkg_comp.sh ${PREFIX}/sbin/pkg_comp
|
|
${INSTALL_MAN} ${FILESDIR}/pkg_comp.8 ${PREFIX}/man/man8/pkg_comp.8
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|