Binary package “pmk” in ubuntu precise

utility to configure software sources

 PMK is a utility which, like the popular GNU Autoconf, serves the
 purpose of configuring the software sources on a variety of platforms.
 Configuring consists of checking the environment for presence of libraries,
 header files, programs, functions etc. Based on a simple config file, pmk
 generates output files (e.g. config.h, Makefile etc.) using a set of
 templates provided by the programmer.