Skip to content

mbits-os/tpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Third Party Modules

MIT License Release

The goal of this project is to provide an automated enviroment for building project dependencies. A software project using TPM would require packages in a fashion similar to RPM and if package repo contains needed packages, it would get them and install them in a separated environment.

TPM consists of three components: builder - one for every platform; server - static HTTP server allowing to get the packages; and client - set of scripts downloading and installing required packages.

Prerequisites

The download of various files is done through wget Python module. Install it for your Python to pickup

sudo pip install wget

Mac OS X

For Mac OS you'll need MacPorts with python, pip and most probably cmake:

sudo port install python27 pip27 cmake

Builder

One python script is used to build a package from a recipe on any supported platform.

python scripts/buildall.py

To force build of a single recipe:

python scripts/build.py <recipe>

Artifacts

Products of the builders are either contents of packages or only packages/<platform> directory.

Repository server

Once all packages are built and moved to a single location, the repo index must be rebuilt with

python scripts/buildrepo.py

This command will pick all archives in packages directory and re-create the repo.xml. Now, contents of packages may serve as repo server.

Artifacts

Products of repo builder is entire packages directory.

Client

TODO