AOSC Wiki / Developer / Packaging / ACBS / .

ACBS - Specification Files

Specification Files

Defines files are expected to exist in :/autobuild/. defines files are usually processed by autobuild script, however acbs also use this file to determine the building order of a given set of packages.

defines file MUST contain the following variables:

This file may also include the following variables:

This file might also include autobuild specific controlling values. Consult Autobuild3 for more information.

spec

Specification (spec) files are expected to exist in :/ (root of the top project folder). defines files are solely processed by acbs to fetch source files and control acbs how to transfer controls to autobuild.

spec file MUST contain the following variables:

spec file SHOULD ONLY contain ONE of the following variables:

spec file may also contain the following variables:

Details about the SRCS format:

To specify multiple options, you can join the options with semicolons (;) like this:

SRCS="git::rename=lmms-git;commit=94363be::https://github.com/LMMS/lmms"

The snippet above will make acbs rename the source directory to lmms-git and checkout the commit 94363be.

[1] Example:

SRCS="git::git://github.com/AOSC-Dev/acbs git::https://github.com/AOSC-Dev/acbs"

This will make acbs to download two sets of source files

[2] Example:

CHKSUMS="sha1::a9c55882c935300bec93e209f1ec8a21f75638b7 sha256::4ccdbbd95d4aef058502c8ee07b1abb490f5ef4a4d6ff711440facd0b8eded33"

This will make acbs to check two sets of source files