spotoconf - Configuration and build system
Spot o' Conf is a TEA-inspired configure and build system that caters to Tcl and Jim extensions.
Copy all required files to the source dir of the package and create a spoto.conf file for the package. The spoto.conf file will be executed by configure and should set any variables required by the package.
Building needs at minimum: configure, Makefile.in and a spoto.conf file for the package. Installing needs at minimum: Spotoconf/install-sh, LICENSE, README, README.licenses, README.configure.
Modify as needed; Spotoconf files are not auto-generated.
Spotoconf's configure script.
Spotoconf's Makefile.in.
Package's spoto.conf
Input Makefile for building a package that contains packages.
Test runner for use with tcltest.
Test runner for use with tcltest2k.
These are the variables that are substituted into output files.
Tcl or Jim. Default is Tcl.
Title of the package. Mixed case acceptable.
Name of the package. Should be lower case.
Version of the package.
Namespace the package lives in.
One line description of the package.
List of categories of the package.
The home page of the package.
The license of the package.
How to load libraries. Either load or source.
Name of init function for .so libs.
One-sentence description.
Software categories.
Software homepage.
Name of license
List of subpackages.
Subpackages dir. Default: 'pkgs'.
Current working directory as determinded by 'configure'.
Source dir path, possibly relative.
Source dir path, absolute.
Arguments passed to 'configure'.
Spotoconf can also determine a package's NAME, TITLE, VERSION, and one of LIB, BIN, or DAT from a fancy TITLE, LIB, BIN or DAT. The formula is name-version.extension. Ex. LIB=MyLib-1.2.tm will yield NAME=mylib TITLE=MyLib VERSION=1.2 LIB=mylib-1.2.tm SCLIB=mylib-1.2.tm SCLIBSRC=mylib.tcl
build, configure, distribute, install, test
Programming tools
Copyright © 2017,2018,2019,2022 Stuart Cassoff <stwo@users.sourceforge.net>