LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-04-2008, 01:03 AM   #16
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612

I definitely recommend using the SlackBuild if there is one available for the program you want to compile. But, when one is not available, src2pkg can help you create a very compliant package and create a script for you in, its' own language, that will allow you to easily repeat the build later, if needed. It accepts many command-line options that deal with the most commonly needed options and of course saves these custom options for you in a very concise way. The esssential parts of a src2pkg script are just a few lines and are cleanly formatted so that any changes you make are easily visible. You can also use a src2pkg script with manually-coded lines that add any special commands not covered by it many operations, or comment out unneeded steps. This means that you can use the src2pkg script as a framework for building any kind of package you can think of.

As stated, there is no substitute for human knowledge or experience. src2pkg takes advantage of my own experience in compiling and building packages by including many operations which cover most common situations you might come across. It also can take advantage of others experience with the program, by using some configuration options from spec files or debian 'rules' files if they are included in the sources. It also can generate doinst.sh and slack-desc files for you and will automatically handle patches, desktop files, pixmaps and some conf files -simply by placing them alongside the sources. It can also be used to download the sources before compiling them.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rebuilding a Slackware Package With Slackbuild Scripts Woodsman Slackware 11 10-14-2006 05:08 AM
Using slackbuild scripts Steve50 Slackware 3 10-11-2006 02:42 AM
Slackbuild and Patches stormtracknole Slackware 4 03-30-2006 08:12 PM
SlackBuild CrEsPo Slackware 2 03-19-2006 01:58 PM
Project FFMpeg (SlackBuild scripts) shilo Slackware 3 10-05-2005 10:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration