3.4. Sources for trial build

We use software package xz as the example: https://tukaani.org/xz/
That is a package with typical build procedure without external dependencies.

First of all, we need anybuild for the package. That's a file, containing code for building. File must be located in the directory, named after package name. There is already demo anybuild inside Any, prepared beforehand. Install it:

        cp -a any/sample-builds/xz-5.2.5/ .

We need package sources as well. Download them:

        wget https://tukaani.org/xz/xz-5.2.5.tar.gz
Backup address with sources:
        wget https://opendistro.org/var/stat/xz-5.2.5.tar.gz

To detect sources in the system, move them inside anybuild directory:

        mv xz-5.2.5.tar.gz ./xz-5.2.5/

Everything is ready to launch the build at the moment. But before the launch we examine the contents of directory with anybuild.