LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Making Slackware Packages (http://www.linuxquestions.org/questions/slackware-14/making-slackware-packages-77392/)

tjm 07-30-2003 04:05 PM

Making Slackware Packages
 
Hi all,

I am looking for an in depth tutorial on the art of making high-quality slackware9 packages.

Can anyone forward me a link?

Cheers,

-tjm

Tinkster 07-30-2003 04:56 PM

Define in-depth :)

http://www.linuxpackages.net/howto/index.php


Cheers,
Tink

tjm 07-30-2003 10:19 PM

Thanks... I have read that tutorial though :)

It is not really what I was looking for though...

I am trying to write a tool to generate packages for libraries and software that I am writing. I was hoping to avoid using the built-in package management tools since, for educational purposes, I would like to learn how Slackware packages really work... also I would like to implement a simple dependency check :)

One thing that confuses me is the absence of .la and .pc (?) files in some of the packages that I have downloaded.

I was hoping that by learning how to make these packages 'from scratch' that I would then use that knowledge to determine in what cases, if any, I can omit the standard Slackware package tools, as well as clear up any confusion as to the 'magic' behind Slackware package management.

Cheers,

-tjm

Noryungi 07-31-2003 06:40 AM

As is often the case with Slackware, the answer is in the book "Slackware Essentials"...

http://www.slackware.com/book/index....rce=c3984.html

Or have you tried reading this before? :D

tjm 07-31-2003 08:49 AM

Thanks Noryungi...

I have not read that book yet... will look into it

misfit_br 07-31-2003 12:46 PM

Do you mean you don't want to use "makepkg"?

Slackware packages are simply binary tar.gz files, I don't see any mistery to it. Installpkg just 'untars' it to the root directory, execute the install script, if any, and deletes the install directory.

The tools installpkg, makepkg and removepkg are all shell scripts. If you want to know how they work, you should take a look at them with vi.


All times are GMT -5. The time now is 11:44 PM.