Tony Plack wrote:
> Kristian,
> I am amazed at your ability to generate package definitions so quickly. Do
> you use a tool for this or do you borrow from some other distribution for
> your package definitions?
>
> For instance, I would love to create the package definitions for the nfsd
> and mountd issue, but it would take me a couple hours to get it all
> together. You seem to be able to generate these on the fly.
>
> I am sure it a good deal experience, but is there something else?
>
Tony,
For this one, I didn't even think to look in other distros. It was so
simple I didn't even bother.
I suppose that I could make some kind of tool, but most of the work is
figuring out how to build the software, not writing the makefiles. Most
of the time I find a similar existing makefile from another package. I
then sed it (replacing the package name and core variables). Then I
poke around in the actual software package's build system
(autoconf/makefile/whatever) and usually with a little trial and error,
I can get it done fairly quickly.
As I'm sure you know (and will find out more), there is a lot of
variation in the ways software can be built for a linux system.
Thankfully, buildroot gives us ways to work with this, but it can still
be pretty hard sometimes...
Then, the other hard part is writing the init script, figuring out
where to put it in startup, and creating any necessary rc.conf
variables. Usually that takes just as long (if not longer) than
creating the package makefile, patches, etc.
--
Kristian Kielhofner
_______________________________________________
Astlinux-users mailing list
[email protected]
http://lists.kriscompanies.com/mailman/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to [EMAIL
PROTECTED]