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: tclconfig/install-sh, LICENSE, README, README.licenses.
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 aceeptable.
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 OpenBSD port 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.
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 © 2018,2019 Stuart Cassoff <stwo@users.sourceforge.net>