A Suggestion For A Simple Package Manager

Frank Peters frank.peters at comcast.net
Wed Nov 19 20:46:31 PST 2008

On Thu, 20 Nov 2008 01:15:32 +0100
"armencho at gmail.com" <armencho at gmail.com> wrote:

> What about packages with 'make install' scripts that do not respect
> the DESTDIR variable?

That may be the only problem.

The majority of packages, however, do include the DESTDIR variable.
For those small few that do not, using the "prefix" variable
usually works:

make prefix=/tmp-dir install

The suggestions made by the other poster may also work.

Sometimes the INSTALL or README file describes a special way
to install the files into a temporary directory for packaging
purposes (e.g. netpbm or HylaFAX).

But for those rare packages that don't follow the standard method,
a note sent to the author explaining the importance of including
DESTDIR may bring about a change.


More information about the lfs-support mailing list