Creating PETs for generic PuppyLinux 4.3 or Quirky?

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
User avatar
Greatnessguru
Posts: 106
Joined: Mon 09 Jul 2007, 21:07
Location: rural McBain MI USA (near Cadillac MI)
Contact:

Creating PETs for generic PuppyLinux 4.3 or Quirky?

#1 Post by Greatnessguru »

I have read the docs and created my first PETs for PuppyLinux 4.3.x.

However, the docs seem somewhat unspecific as to what needs
to be typed in at each step to make PETs that work on any generic
PuppyLinux, Quirky, etc., and not just on the machine they were
created on.

I'm guessing it involves some stuff on the "./configure" line,
but I don't know exactly what to say there.

I also saw something about a PET creator utility that may do
everything. True?

Suggestions welcome.

Thanks,
Eddie Maddox

User avatar
Greatnessguru
Posts: 106
Joined: Mon 09 Jul 2007, 21:07
Location: rural McBain MI USA (near Cadillac MI)
Contact:

#2 Post by Greatnessguru »

Someone PMed me this:
http://puppylinux.org/wikka/Compiling

I had already come across that and read it, but
the Quirky main menu Help button says:
Welcome to Quirky version 0.1, released Mar 2010 ...
Quirky help
All Quirky's local documentation is in HTML or plain text format. This page is the master index.
Quirky-specific help ...
HOWTO write programs for Quirky
[url]file:///usr/share/doc/HOWTO-program.htm[/url]
HOWTO: Write programs ...
C/C++ programming ...
If you compile a package and would like to make it available for others to use, it is very easy to create a PET package -- read this:
http://www.puppylinux.com/development/createpet.htm

Which says:

PET packages
PAGE UPDATED: Feb 17, 2007, for Puppy v2.14+ only ...
How to create a PET package
There is a suite of "PET tools", scripts for creating PET packages and for converting between other package formats.

Firstly, to answer the most important question: you download a source package from the Internet, and you want to compile it then create a PET package. How?

It's very simple: after compiling the package and you are ready to do the final "make install" step, do it this way instead:

# new2dir make install

"new2dir" is a script that will execute the "make install" and in addition will create a directory with all the installed files (and directories) in it. I don't need to give any more details here, as the script explains exactly what it is doing as it does it.
For example, if you had compiled "abiword-2.5.6" then the above will create a directory "abiword-2.5.6-i486" with all the installed files.

The next step is also simple:

# dir2pet abiword-2.5.6-i486

This will create a PET package, file "abiword-2.5.6-i486.pet". That's it, all done.

Having created a PET package, you can make it available for others to use. A PET package can even be submitted to me for possible inclusion in the "official" Unleashed suite.


So what is a person to do?

Thank you,
Eddie Maddox

User avatar
Greatnessguru
Posts: 106
Joined: Mon 09 Jul 2007, 21:07
Location: rural McBain MI USA (near Cadillac MI)
Contact:

#3 Post by Greatnessguru »

Oh, and, by-the-way,
http://puppylinux.org/wikka/Compiling says:
References ...
http://murga-linux.com/puppy/viewtopic.php?t=52033
which says something about a "Pcompile".
What's with that?

Thank you,
Eddie Maddox

Post Reply