[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.

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 revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
howtos:lets_build_a_slackbuild [2012/08/26 18:57 (UTC)] – added overview nocturnal.slackerhowtos:lets_build_a_slackbuild [2012/09/22 01:20 (UTC)] – [Let's Build a SlackBuild] nocturnal.slacker
Line 1: Line 1:
 +<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). -->
 +====== Creating a Package Using a SlackBuild Script ======
 +
 ===== Overview ===== ===== Overview =====
  
-Occasionally, you will find that there is an application that you would really like to utilize, but it is not available in Slackware's repository. For times like this [[http://docs.slackware.com/howtos:how_to_use_slackware_installing_software|you have options]], one of which is using a [[http://slackbuilds.org/|SlackBuild]] script to build an application package for installation on your own system. That is what this tutorial will endeavor to teach you. 
  
-===== Let's Build a SlackBuild =====+Occasionally, you will find that there is an application that you would really like to utilize, but it is not available in Slackware's repository. For times like this [[howtos:how_to_use_slackware_installing_software|you have options]], one of which is using a [[http://slackbuilds.org/|SlackBuild]] script to build an application package for installation on your own system. That is what this tutorial will endeavor to teach you. 
 + 
 +---- 
 + 
 + 
 +==== Using a SlackBuild Script ==== 
  
 One of the first things I do on any of my Linux installations is to create a hidden directory called .build in my /home directory that I use primarily for manual compiling of applications, or in this case in Slackware, installation of SlackBuild scripts (see Fig 1). One of the first things I do on any of my Linux installations is to create a hidden directory called .build in my /home directory that I use primarily for manual compiling of applications, or in this case in Slackware, installation of SlackBuild scripts (see Fig 1).
Line 38: Line 46:
  
 ''# ./pysolfc.SlackBuild'' ''# ./pysolfc.SlackBuild''
- 
-<note important>If you’re running an x86_64 version of Slackware, you’ll need to preface the above command like this: 
- 
-''# ARCH=x86_64 ./pysolfc.SlackBuild'' 
- 
-This will let the script know that you’re running a 64 bit system and it will install accordingly.</note>  
  
   * If all went well, the SlackBuild script will have created a .tgz package in your /tmp directory. Navigate to the /tmp directory in the terminal:   * If all went well, the SlackBuild script will have created a .tgz package in your /tmp directory. Navigate to the /tmp directory in the terminal:
Line 60: Line 62:
  
 =====Sources===== =====Sources=====
-  * This how-to is an edited version of [[https://noctslackv1.wordpress.com/2012/01/29/lets-build-a-slackbuild-revisited/|THIS]] original source. Copyrights may apply to the original. Author grants permission for use on this site in this modified form. 
  
-<!-- Please do not add anything below, except additional tags.--> +  * Originally written by [[wiki:user:nocturnal.slacker|V. T. Eric Layton]] 
-<!-- However we request that you remove the tag-word "template" belowOtherwise your page will not show up in the Table of Contents -->+ 
 +<note important>This how-to is an edited version of [[https://noctslackv1.wordpress.com/2012/01/29/lets-build-a-slackbuild-revisited/|THIS]] original source. Copyrights may apply to the original. Author grants permission for use on this site in this modified form.</note> 
 + 
 +<!-- If you are copying information from another source, then specify that source --> 
 +<!-- * Original source: [[http://some.website.org/some/page.html]] --> 
 +<!-- Authors are allowed to give credit to themselves! --> 
 +<!-- * Originally written by [[wiki:user:xxx | User X]] --> 
 +<!-- * Contrbutions by [[wiki:user:yyy | User Y]] -->
  
-<!-- Do not remove this line and the tag definition below. Thanks! slackdocs@-->+<!-- Please do not modify anything below, except adding new tags.--> 
 +<!-- You must also remove the tag-word "template" below. Otherwise your page will not show up in the Table of Contents -->
 {{tag>howtos software}} {{tag>howtos software}}
 howtos:lets_build_a_slackbuild ()