Dlackware Gnome build system and installer
This is the build system used to build systemd and Dlackware Gnome distribution for Slackware Linux.
This repository doesn't contain any packages, please refer to another repositories in the Dlackware organization if you are looking for packages.
Build and install Dlackware build system
- Install Haskell stack:
wget -qO- https://get.haskellstack.org/ | sh
- Clone this repository:
git clone https://github.com/Dlackware/dlackware.git
- Then switch to the cloned directory:
- Build the build system:
It will take some time to download the dependencies on first run.
- After that you can run the build system with:
stack exec dlackware -- …
… with the arguments that should be passed to the build system.
You can get a list of supported commands and command line arguments with:
stack exec dlackware -- --help
The configuration is described by a YAML file, that should be in
Sample configuratin can be found in
./etc/dlackware.yaml.new. Just copy this
./etc/dlackware.yaml and change as appropriate.
The configuration is very simple and all options can be found in the sample configuration file mentioned above.
reposRootspecifies the root directory used to find the packages to be built.
loggingDirectoryis the directory there the build system writes its log files, one file per built package.
temporaryDirectoryis the directory used to build the actual software. This directory should have enough free space to be able to build large projects, like Gnome.
reposis a list of directories (relative to
reposRoot) that contain
compile-orderfiles, text files with a list of packages in the order these should be built. Dlackware doesn't look into the directory structure to find the packages; only the packages mentioned in
compile-orders are built.
Running the tests
stack test --pedantic stack build hlint stack exec hlint -- src test