Page 1 of 2

Make a pBuild

Posted: 23 Feb 2011, 21:11
by Hamza
Hello,

I have no idea for pBuild script . If you have an needed application for x86_64 or for i486 .

Please post your needed apps in this thead ONLY

Please, respect the rules of brokenman on Build of script

Re: Make a pBuild

Posted: 01 May 2011, 14:40
by rnport
I am new to porteus. What is the best way to add modules (say google-chrome) to porteus: downloading slax module and converting to sq4.lzm or by using a pBuild ?

Re: Make a pBuild

Posted: 01 May 2011, 14:46
by Hamza
Sorry , you need compile your own module from slackware pkg , please don't use Slax (sq3) modules.

and , now , the new extension is lzm , in next version , all modules will compressed with XZM extension (best)

Re: Make a pBuild

Posted: 01 May 2011, 16:26
by rnport
Can I compile source.tar.gz by using src2pkg ; what options should I use or should I use src2pkg without any option.

Re: Make a pBuild

Posted: 01 May 2011, 17:07
by Hamza
Sorry , I don't use src2pkg , I can't help you.

Re: Make a pBuild

Posted: 01 May 2011, 17:11
by rnport
Where can I find pbuilds for porteus- in this forum posts only or is there a constant link?

Re: Make a pBuild

Posted: 01 May 2011, 17:18
by Hamza
I'm the only developper of pBuild script , if you have some pBuild , please share them.

Re: Make a pBuild

Posted: 01 May 2011, 17:36
by rnport
Thanks for all the information. I am not a linux expert and I do not know how to write a pBuild. I am a user and I am very impressed with porteus and I wish to add more packages to it. If I download tgz files from linuxpackages.net and convert them to lzm with tgz2lzm, will they work OK ?

Re: Make a pBuild

Posted: 01 May 2011, 17:46
by Hamza
If you download a slackware packages , you can convert it to lzm , and you will be able to use it just after activated it.

Re: Make a pBuild

Posted: 01 May 2011, 23:06
by Ahau
rnport wrote:Thanks for all the information. I am not a linux expert and I do not know how to write a pBuild. I am a user and I am very impressed with porteus and I wish to add more packages to it. If I download tgz files from linuxpackages.net and convert them to lzm with tgz2lzm, will they work OK ?
One thing to add to what Hamza wrote --

Depending on the package, you may also need to download and convert dependency packages in order for your desired package to work. Often, you will have more dependencies to install that you would with a typical slackware installation, because porteus has been stripped of many packages that are not needed for the core porteus applications. I recommend getting familiar with the 'slackyd' tool, included by default with porteus. It is run from the command line (try 'man slackyd' for more info), and will search for missing dependencies and the packages that contain them. If you run into issues, feel free to post in the "lzm module request" portions of the forum for more help from the community :)

Re: Make a pBuild

Posted: 02 May 2011, 00:59
by rnport
I will post to "lzm module request" section. I googled to find out more about pBuild. There are several sites - which one should I see? Basically I want to know whether pBuilds download dependencies as well? Whether they make a module or install the package straight into the system? And whether they use slackware 13.1 packages for porteus? Thanks for your help.

Re: Make a pBuild

Posted: 02 May 2011, 02:37
by Ahau
I may be mistaken, but I believe in this case, pbuild stands for 'porteus build', which is a script written for porteus, to download and install a program plus dependencies in porteus. Scripts you find elsewhere are not likely to work in porteus...but something written for slackware might work, with some modifications and additions.

pbuilds for porteus create an lzm (or xzm, for V1.0) module, that can be stored in /porteus/modules or /porteus/modules on your storage media, for future use.

Re: Make a pBuild

Posted: 02 May 2011, 04:54
by rnport
From where can I download pbuild script?

Re: Make a pBuild

Posted: 02 May 2011, 04:56
by Hamza
1)Copy 'n Paste , the scripts in the topic pBuild Script (e.g:Firefox).
2)Save it in one text file
3Make it executable
4)Execute it in the terminal.

Re: Make a pBuild

Posted: 17 Jan 2012, 15:45
by bigbass
Hey Hamza


it isnt like a standard slackbuild script because it's a bit different
the development is quick with new updates frequently so packaging it the standard way is not
a good thing to do

what this script does is download and compile "the compiler"
the way I wrote the script it will always build you the most recent version
and install it in the correct directories setting a standard
that is currently used by BaCon developers
if this isnt the correct place to post this please remove it
or make it into a correct pbuild following Porteus rules

note I tested the script on Porteus and tested the binary to be working correctly



Thanks Joe