1 |
On Thu, 2007-11-08 at 17:05 +0200, Dirk Heinrichs wrote: |
2 |
|
3 |
> Hmm, is it? In the end, what I ask for is the portage equivalent of: |
4 |
> |
5 |
> configure --prefix /afs/mydomain.com/software |
6 |
> make |
7 |
> make prefix=/afs/.mydomain.com/software install |
8 |
> vos release |
9 |
|
10 |
What if done this way: |
11 |
|
12 |
1) in the ebuild: |
13 |
configure --prefix=/afs/mydomain.com/software |
14 |
make |
15 |
make install DESTDIR="${D}" |
16 |
|
17 |
2) in some pkg_preinst() hook: |
18 |
mv "${D}"/afs/mydomain.com "${D}"/afs/.mydomain.com |
19 |
|
20 |
But what happens with pkg_postinst() then ? |
21 |
|
22 |
/haubi/ |
23 |
-- |
24 |
Michael Haubenwallner |
25 |
Gentoo on a different level |
26 |
|
27 |
-- |
28 |
gentoo-alt@g.o mailing list |