Re: Conversion to /package
Thomas Schwinge <[email protected]> Mon, 15 Sep 2003 21:50:46 +0200
| Newsgroups | gmane.comp.djb.package |
|---|---|
| Message-ID | <[email protected]> |
Paul Jarc <[email protected]> schrieb: >Andy Goth <[email protected]> wrote: >> This would involve patching many of the programs I use, > >Mostly it can be done with existing, supported compile-time >configuration options. Another possibility I was thinking about was patching the programs that make these software packages use the paths they use: the GNU auto*-suite. I began to patch autoconf and automake and all looked very promisingly: I was able to install strace like this: #v+ autoreconf -vfi && ./configure && make && make check && make install && sp-version /package/misc/spf/strace-$(eval "$(grep 'VERSION=' configure)" && echo $VERSION) && sp-links /package/misc/spf/strace/command /command && ls -lR /package/misc/spf/strace* lrwxrwxrwx 1 root root 13 2003-09-06 12:33 /package/misc/spf/strace -> strace-4.4.98 /package/misc/spf/strace-4.4.98: insgesamt 8 drwxr-xr-x 2 root root 4096 2003-09-06 12:33 command drwxr-xr-x 2 root root 4096 2003-09-06 12:33 man /package/misc/spf/strace-4.4.98/command: insgesamt 144 -rwxr-xr-x 1 root root 129468 2003-09-06 12:33 strace -rwxr-xr-x 1 root root 8323 2003-09-06 12:33 strace-graph /package/misc/spf/strace-4.4.98/man: insgesamt 20 -rw-r--r-- 1 root root 18859 2003-09-06 12:33 strace.1 #v- Very easy. Just ./configure; make; make install. As they always told us at GNU. Going further I was thinking about modifing automake to * implement the sp-version and sp-links steps and making them available via 'make install-spf'. * convert the man and info directories into html that easily could be integrated into /doc. But the problem with this installation method is that there are too many GNU packages out there that use and require too many different versions of the GNU auto*-tools to let this method be practicable. Regards, Thomas