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
howtos:misc:anatomy_of_a_slackbuild [2020/01/05 16:26 (UTC)]
captain_sensible [Anatomy Of a Slackbuild]
howtos:misc:anatomy_of_a_slackbuild [2020/01/05 16:49 (UTC)]
captain_sensible [Anatomy Of a Slackbuild]
Line 328: Line 328:
 </​code>​ </​code>​
  
-We can however pick out key words that help to make sense of it. "find" ​is a powerful ​command ​that has around 50 options. It basically does what it says on the can but with the -print0 option separates what it finds with "​\000" ​ - in a word NULL. The "​|"​ or pipe is used to pass the results of a command to anotherin this case xargs with a flag -0. Which is for xargs to accept input that has /000 between them. ELF is is Executable & Linkable Format.+We can however pick out key words that are commands and that can help to make some sense of it. 
 +ind" ​located at /usr/bin/find is a powerful ​utility  ​that has around 50 options. It basically does what it says on the can.With the -print0 option ​it separates what it finds with "​\000" ​ - in a word NULL.  
 + 
 +The "​|"​ or pipe is used to pass the results of a command to another;in this case xargs which has a flag -0. This option  ​is for xargs to accept input that has /000 between them. ELF is is Executable & Linkable Format.
  
 To give a succinct answer the two lines are removing debugging symbols and other unnecessary stuff to make the binaries smaller, faster and take up less memory. To give a succinct answer the two lines are removing debugging symbols and other unnecessary stuff to make the binaries smaller, faster and take up less memory.
Line 336: Line 339:
 </​code>​ </​code>​
  
-Here we are preparing a directory which will be called "​latex2html-2019.2" ​into  /​usr/​doc. This is so we an put relevant documentation into a directory relevantly called so that a user can access documentation on the package.+Here we are preparing a directory which will be called "​latex2html-2019.2" ​located at  /​usr/​doc. This is so we an put relevant documentation into a directory relevantly calledso that a user can access documentation on the package.
 The next lines put files such as  README.md into the /​usr/​doc/​latex2html-2019.2 directory. The next lines put files such as  README.md into the /​usr/​doc/​latex2html-2019.2 directory.
  
Line 343: Line 346:
 </​code>​ </​code>​
  
-That line goes back to the original directory that Latex2html.SlackBuild was run from ( i previosly ​quoted Desktop) opens up the SlackBuild with cat command and copies it to the documentation directory.  +That line goes back to the original directory that Latex2html.SlackBuild was run from ( i previously ​quoted Desktop) opens up the SlackBuild with "cat"  ​command and copies it to the documentation directory.  
-Now before I submitted latex2html to slackbuilds obviously I did some trsting ​and found that when the package ​is installed a fairly ​comprensive ​output could be seen just using +Now before I submitted latex2html to slackbuilds obviously I did some testing ​and found that when the package ​was installed ​it had a fairly ​comprehensive ​output ​of what it could do just using:  
 <​code>​ <​code>​
 $ latex2html --help $ latex2html --help
Line 352: Line 356:
  
  
- --- //​[[wiki:​user:​captain_sensible|andy brookes]] ​2019/12/28 19:28 (UTC)//+ --- //​[[wiki:​user:​captain_sensible|andy brookes]] ​2020/01/05 16:29 (UTC)//
  
-//If you teach maths it doesn'​t stop you  embedding a little English.  ​+//If you teach maths it doesn'​t stop you  embedding a little English.//  
  
  
 +Blank slackbuild templates can be obtained from : [[https://​slackbuilds.org/​templates/​]]
  
 ====== Sources ====== ====== Sources ======

In Other Languages
QR Code
QR Code howtos:misc:anatomy_of_a_slackbuild (generated for current page)