20210628 - Upgrade of php fixed the page rendering issue.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
slackware:slackbuild_scripts [2012/08/22 11:04 (UTC)]
vharishankar [Creating SlackBuild scripts]
slackware:slackbuild_scripts [2012/08/22 11:11 (UTC)]
vharishankar [Creating SlackBuild scripts]
Line 8: Line 8:
  
   - Uncompress the source archive (usually .tar.gz or .tar.bz2 file) into a "work directory."   - Uncompress the source archive (usually .tar.gz or .tar.bz2 file) into a "work directory."
 +  - Create a ''slack-desc'' file, with the description of the software in the correct format.
   - Configure the source, and apply patches if needed.   - Configure the source, and apply patches if needed.
   - Compile/build the source and generate the binaries.   - Compile/build the source and generate the binaries.
Line 15: Line 16:
  
 While the above steps can be done by hand, the process is tedious, sometimes complex, and involves typing in a lot of commands. Automating the process by a shell script allows the user to share the process with the community at large. It also makes sense to use and modify existing SlackBuild scripts for upgrading the same program to a newer version. While the above steps can be done by hand, the process is tedious, sometimes complex, and involves typing in a lot of commands. Automating the process by a shell script allows the user to share the process with the community at large. It also makes sense to use and modify existing SlackBuild scripts for upgrading the same program to a newer version.
- 
 ===== Creating SlackBuild scripts ===== ===== Creating SlackBuild scripts =====
  
Line 25: Line 25:
 <note tip>For new script writers, it is a good idea to perform the above steps manually to create the package from source, before actually writing a SlackBuild script. This reduces the chances of bugs and unexpected behaviour in the script.</note> <note tip>For new script writers, it is a good idea to perform the above steps manually to create the package from source, before actually writing a SlackBuild script. This reduces the chances of bugs and unexpected behaviour in the script.</note>
  
-Submitting SlackBuild scripts to a public repository such as http://www.slackbuilds.org may additionally require adherence to certain conventions and coding standards. For instance, it would be necessary for the script to determine the target architecture at runtime rather than hard-coding it into the script.+Submitting SlackBuild scripts to a public repository such as http://www.slackbuilds.org may additionally require adherence to certain conventions and coding standards. For instance, it would be necessary for the script to determine the target architecture at runtime rather than hard-coding it into the script. These standards attempt to make SlackBuild scripts as portable as possible.
 ===== External Links ===== ===== External Links =====
  

In Other Languages
QR Code
QR Code slackware:slackbuild_scripts (generated for current page)