pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: how to create a package installing into a separate directory?


On Thu, 27 Oct 2011 18:21:38 +0900, norc1212 <> 

My current trouble is to make a new package to install
in its own subdirectory under $LOCALBASE. Using the
pkgsrc developer's guide I created a new package (it went
smooth, thanks!). It installs its files in $LOCALBASE/bin,
$LOCALBASE/lib etc. However I need the program in various
versions in parallel - the same way lang/gcc?? do:
Unfortunately gcc Makefiles are too advanced to me to
learn the trick.

Can you give me some advice?

It depend on how to configure/compile/install the package.
For example, if it is GNU configure based package (GNU_CONFIGURE=yes),


OBATA Akio /

Home | Main Index | Thread Index | Old Index