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
slackware:slackbuild_scripts [2012/08/22 11:11 (UTC)]
vharishankar [Creating SlackBuild scripts]
slackware:slackbuild_scripts [2012/08/26 14:01 (UTC)]
alienbob Added SlackBuild generators section
Line 18: Line 18:
 ===== Creating SlackBuild scripts ===== ===== Creating SlackBuild scripts =====
  
-A good hands-on tutorial on creating a SlackBuild script can be found [[http://​www.slackwiki.com/​Writing_A_SlackBuild_Script|here]].+A good hands-on tutorial on creating a SlackBuild script can be found [[http://​www.slackwiki.com/​Writing_A_SlackBuild_Script|here]], and there are also a few [[http://​slackbuilds.org/​templates/​|templates]] available to get a feeling for what is needed from a script.
  
 However, software may be written in different programming languages, use different build systems, or may even simply be written in an interpreted programming language with no obvious way to "​install"​ it. In such cases, many steps involved in writing a SlackBuild script will differ from the standard way. Blindly copying and pasting commands from other SlackBuild scripts may or may not work. However, software may be written in different programming languages, use different build systems, or may even simply be written in an interpreted programming language with no obvious way to "​install"​ it. In such cases, many steps involved in writing a SlackBuild script will differ from the standard way. Blindly copying and pasting commands from other SlackBuild scripts may or may not work.
Line 26: Line 26:
  
 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. 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.
 +
 +
 +===== Automated SlackBuild generators =====
 +
 +Some tools exist that can assist you with creating a SlackBuild script. Here are a few examples.
 +
 +  * [[http://​alien.slackbook.org/​AST/​ | Alien'​s SlackBuild Toolkit (AST)]] \\ A web-based "​wizard"​ tool by [[wiki:​user:​alienbob|Eric Hameleers]]
 +  * [[http://​www.dawoodfall.net/​slackbuilds/​noversion/​mkslack/​ | mkslack]] \\ A SlackBuild generator script by David Woodfall
 +
 ===== External Links ===== ===== External Links =====
  
-  * SlackBuilds - http://​www.slackbuilds.org/​ +  * SlackBuilds ​Repository ​- http://​www.slackbuilds.org/​ 
-  * Templates ​- http://​slackbuilds.org/​templates/​+  * SlackBuild templates ​- http://​slackbuilds.org/​templates/​ 
 + 
 ===== Sources ===== ===== Sources =====
   * Originally written by  [[wiki:​user:​vharishankar|V.Harishankar]] for the SlackDocs Wiki Project   * Originally written by  [[wiki:​user:​vharishankar|V.Harishankar]] for the SlackDocs Wiki Project
 +
 +<!-- Please do not change anything below this line-->
 +{{tag>​slackware slackbuild}}

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