pkgsrc/pkgtools/gimme/Makefile
agc fc39ee60da Import gimme-20151122, a tool for building packages in a chroot, into the
packages collection.

	Sometimes there's a need to just build a package without any of the
	installed pre-requisites being used. Or building a one-off package
	which can then be used elsewhere.

	This package helps to produce other binary packages, using pkg_comp to
	build them in a chroot.  The chroot is populated either by cloning the
	current operating system, or by using pre-existing binary sets.  As an
	example:

		# gimme -c vip

	will clone the current operating system on this host, and use it to
	make a chroot in which the sysutils/vip package will be built.

	Similarly, to build packages and all their pre-requisites afresh,
	something like

		# gimme -c mercurial git-base

	would be used.
2015-11-22 21:57:38 +00:00

29 lines
667 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2015/11/22 21:57:38 agc Exp $
DISTNAME= gimme-20151122
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= agc@NetBSD.org
HOMEPAGE= http://www.NetBSD.org/
COMMENT= Script to make binary packages in a chroot
LICENSE= modified-bsd
ONLY_FOR_PLATFORM= NetBSD-*-*
DEPENDS+= pkg_comp>=1.38nb1:../../pkgtools/pkg_comp
AUTO_MKDIRS= yes
do-extract:
${CP} -R ${FILESDIR} ${WRKSRC}
do-build:
@${ECHO} "Build done"
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/gimme.sh ${DESTDIR}${PREFIX}/bin/gimme
${INSTALL_MAN} ${WRKSRC}/gimme.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/gimme.1
.include "../../mk/bsd.pkg.mk"