I have not forgotten about this project. I've been looking at ways to export a single gsrc tarball that allows end-users to build the sources easily.
I've decided to use Nick Moffit's GAR (GNUmake Autobuild Runtime), which was the system used for the old FSF Bootable CDs and is a pure makefile, so pretty easy to use. It handles dependencies, downloads (with checksums/signatures) and setting different compilation options. I've grabbed a more recent version from GARstow maintained by Adam Sampsom ([email protected]) and used that as a starting point. I plan to synchronise the version information with Nixpkgs-libre, to keep it up to date. I have a script that does that. Since it doesn't need a top-level makefile/configure script we are free to add our own (to handle anything like ./configure --disable-video or whatever). The initial version is at bzr branch http://bzr.savannah.gnu.org/r/gsrc/trunk Examples: make -C gnu/hello # downloads and builds hello make -C gnu/hello install # installs it under ~/gar make -C gnu/patch # builds patch, after automatically building ed (which is a dependency) These should work - but if anything else does, it's a fluke. Look in gnu/ed/Makefile for a sample definition: ---------------------------------------------------------------------- GARNAME = patch GARVERSION = 2.6.1 MASTER_SITES = $(MASTER_GNU) MASTER_SUBDIR = patch/ DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz BUILDDEPS = ed USE_TESTS = 1 HOME_URL = http://savannah.gnu.org/projects/patch DESCRIPTION = GNU patch include ../../gar.lib/auto.mk ----------------------------------------------------------------------
