Thanks for the tips. It seems like a nice solution.

Where do I find good documentation for the creation of binary packages? I
couldn't find much material about it, except for an old tutorial (
http://tldp.org/HOWTO/html_single/Debian-Binary-Package-Building-HOWTO/).

Can someone recommend me a Debian's binary package for use as an example to
create mine?

Thanks,

Ivan

2012/1/16 Ansgar Burchardt <ans...@debian.org>

> Hi,
>
>
> On 01/16/2012 03:27 PM, Ivan Reche wrote:
>
>> The package is just a directory with lots of binaries and it likes to
>> install itself in /opt. Besides that, it needs to set some environment
>> variables (similar to JAVA_HOME and friends).
>>
>> What is the best way to approach this? Do I change the PATH environment
>> variable to point to, lets say, /opt/bin? Are there problems with
>> "creating" new environment variables in a package installation?
>>
>
> For site packages, I would install the program to /opt/whatever as it
> wants and install a wrapper script in /usr/bin that sets the required
> environment variables and starts the program.  This way users have the
> program in their $PATH by default and the environment stays clean.
>
> Regards,
> Ansgar
>
>
> --
> To UNSUBSCRIBE, email to 
> debian-mentors-REQUEST@lists.**debian.org<debian-mentors-requ...@lists.debian.org>
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: 
> http://lists.debian.org/**4f143c12.10...@debian.org<http://lists.debian.org/4f143c12.10...@debian.org>
>
>

Reply via email to