diff options
author | joerg <joerg@pkgsrc.org> | 2007-06-19 19:49:55 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-06-19 19:49:55 +0000 |
commit | 8d27258d171aef0d2263235dfe4aa1625210f6ce (patch) | |
tree | ae0c40ea599746592b1eb6d44554877141bd3552 /pkgtools/pbulk/Makefile | |
parent | 529ec2b59ed2c6045597c0a8846033638c433fa6 (diff) | |
download | pkgsrc-8d27258d171aef0d2263235dfe4aa1625210f6ce.tar.gz |
Initial import of pbulk, the new pkgsrc bulk build framework.
Discussion of various parts of the design with jlam@, wiz@, tls@
and many other developers. Special thanks to David Maxwell for
testing the initial prototype and finding some bugs with
Coverity Prevent.
Supported by Google's Summer of Code 2007 project.
OK for import during the freeze: jlam@
From DESCR:
pbulk is the modular bulk build framework for pkgsrc.
This package contains:
- pbulk-scan, a program to scan the entire pkgsrc tree
or a list of directories therein for packages and
dependencies. Distributed operation using a master/client
mode is supported.
- pbulk-resolve, a program to resolve the dependencies
from the output of pbulk-scan
- pbulk-build, the build scheduler. Distributed builds via TCP
are supported.
- bulkbuild and related scripts to implement full and limited
bulk builds on top of those programs.
The pbulk framework is considered experimental.
Diffstat (limited to 'pkgtools/pbulk/Makefile')
-rw-r--r-- | pkgtools/pbulk/Makefile | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/pkgtools/pbulk/Makefile b/pkgtools/pbulk/Makefile new file mode 100644 index 00000000000..a0c660eef63 --- /dev/null +++ b/pkgtools/pbulk/Makefile @@ -0,0 +1,53 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/06/19 19:49:55 joerg Exp $ + +DISTNAME= pbulk-0.1 +CATEGORIES= pkgtools +MASTER_SITES= # empty +DISTFILES= # empty + +MAINTAINER= joerg@NetBSD.org +HOMEPAGE= ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/doc/pkgsrc.html +COMMENT= Modular bulk build framework + +PKG_DESTDIR_SUPPORT= user-destdir + +WRKSRC= ${WRKDIR}/pbulk +EXTRACT_ONLY= # empty +NO_CHECKSUM= YES + +USE_TOOLS+= awk:run bzip2:run digest:run gzip:run ident:run make:run \ + mail:run +DEPENDS+= rsync-[0-9]*:../../net/rsync + +SUBST_CLASSES+= tools +SUBST_STAGE.tools= pre-configure +SUBST_MESSAGE.tools= Fixing references to tools +SUBST_FILES.tools= pbulk.conf scripts/build scripts/build-client-start \ + scripts/bulkbuild scripts/client-clean \ + scripts/pkg-build scripts/pkg-up-to-date scripts/pre-build \ + scripts/report scripts/scan scripts/scan-client-start scripts/upload \ + scripts/compute-packages.awk scripts/create-broken-graph.awk \ + scripts/create-report-html.awk scripts/create-report-txt.awk \ + scripts/create-report.awk +SUBST_VARS.tools= AWK BZIP2 DIGEST GZIP_CMD IDENT MAKE MAIL_CMD \ + PBULK_CONFIG PKG_INFO PREFIX SH + +CONF_FILES+= share/examples/pbulk/pbulk.conf ${PKG_SYSCONFDIR}/pbulk.conf + +PBULK_CONFIG= ${PKG_SYSCONFDIR}/pbulk.conf + +INSTALLATION_DIRS= bin libexec/pbulk \ + ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1 \ + share/examples/pbulk +INSTALL_ENV+= MANDIR=${PREFIX}/${PKGMANDIR} + +.include "../../mk/bsd.prefs.mk" + +do-extract: + ${CP} -r ${FILESDIR}/pbulk ${WRKDIR} + +post-install: + ${INSTALL_DATA} ${WRKSRC}/pbulk.conf ${DESTDIR}${PREFIX}/share/examples/pbulk/pbulk.conf + +.include "../../devel/libevent/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" |