[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
This is an old revision of the document!
Table of Contents
SlackBuild scripts
A SlackBuild script is a shell script that automates the process of configuring, compiling and creating a Slackware package (*.tgz, *.txz, *.tbz files) from source archives.
Overview
The basic process of creating a Slackware package from source can be summarized as follows, while details may vary from one build system to another:
- Uncompress the source archive (usually .tar.gz or .tar.bz2 file) into a “work directory.”
- Configure the source.
- Compile/build the source and generate the binaries.
- Install the program to a temporary directory.
- Copy the program documentation and other files to the appropriate subdirectories in the temporary directory.
- Using the
makepkg
utility to create a Slackware package that can then be installed using theinstallpkg
utility.