1 |
Edward Catmur wrote: |
2 |
> Is it possible to get Portage (or ebuild) to build a package for |
3 |
> installation into /opt? If not, how much work would that be? |
4 |
> |
5 |
> What would be great would be to have emerge --optinstall package, that |
6 |
> installs the package into /opt/$PV and doesn't create a vdb entry... |
7 |
> feasible? |
8 |
|
9 |
Possible, sure: |
10 |
|
11 |
emerge -B package |
12 |
mkdir /opt/package |
13 |
tar -C /opt/package -xjf /usr/portage/packages/All/package-ver.tar.bz2 |
14 |
|
15 |
Smart, not really. Using portage to install packages that are outside of |
16 |
portage's control is kinda silly. If you want to do that, build it by hand or |
17 |
use a pre-compiled package such as a RPM or DEB from the author's site. |
18 |
|
19 |
-- |
20 |
Andrew Gaffney http://dev.gentoo.org/~agaffney/ |
21 |
Gentoo Linux Developer Installer Project |
22 |
|
23 |
-- |
24 |
gentoo-dev@g.o mailing list |