[csw-maintainers] raw "build" api for our subversion tree now up for discussion
Philip Brown
phil at bolthole.com
Tue Nov 17 17:47:04 CET 2009
On Tue, Nov 17, 2009 at 7:15 AM, Maciej (Matchek) Blizinski
<maciej at opencsw.org> wrote:
>
>> How many people are using something else there, and if so, what?
>
> I think it there is a need to provide an API for specifying the pkg
> destination directory. I can think of a couple of ways:
>
> - an environment variable (PKG_DEST_DIR?)
> - an entry in a configuration file (where would the file be? in what format?)
> - an argument to the build script (./build --pkg-dest-dir=/home/joe/staging?)
simplest thing is an environment variable, particularly since most
other things (CFLAGS, etc) will be environment variables.
I will propose that any csw specific vars, have csw prefix.
So, CSW_PKG_DIR perhaps?
We also need a good default. I think Mike's example, of
$(HOME)/newpkgs
is a good default.
Can I get a second on that?
More information about the maintainers
mailing list