* [gentoo-dev] How does ebuild move files to the final destination
@ 2003-07-15 23:46 Brett I. Holcomb
2003-07-16 1:51 ` Georgi Georgiev
0 siblings, 1 reply; 3+ messages in thread
From: Brett I. Holcomb @ 2003-07-15 23:46 UTC (permalink / raw
To: gentoo-dev
I'm working on an ebuild for getting a program for cvs and have some
questions. The ebuild succesfully fetchs, unpacks, and compiles the cvs
source but I'm puzzled on some aspects of src_install.
I notice that the make install command references ${D} as in
prefix=${D}/somedir or mandir=${D}/usr/share/man. However ${D} is
essentially a temporary directory (${PORTAGE_TMPDIR}/PORTAGE/${PF}/image)
which is used to construct the directory structure of the program as it will
be after it's installed to /usr or wherever. In short, the entire program
install with all it's directory is built under ${D}.
After looking at the emake and other eclass functions I can not see where the
tree in ${D} is moved to the final location (say /usr/someprog from
${D}/usr/someprog) but it obviously happens <G>! Is there some portage code
somewhere that does the move? How does the move happen and when?
The reason for this is that the program I have doesn't have a make install -
I tried using egamesinstall and all that got created were some executables in
/usr/games/bin - nothing got moved to /usr/games/programname. This makes
sense because if I download cvs by hand and follow the ./autogen.sh,
./configure, make process in the program install docs then the entire program
is built under what ever directory I put the two cvs modules in.
Thank you.
--
Brett I. Holcomb
AKA Grunt <><
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] How does ebuild move files to the final destination
2003-07-15 23:46 [gentoo-dev] How does ebuild move files to the final destination Brett I. Holcomb
@ 2003-07-16 1:51 ` Georgi Georgiev
2003-07-16 2:07 ` Brett I. Holcomb
0 siblings, 1 reply; 3+ messages in thread
From: Georgi Georgiev @ 2003-07-16 1:51 UTC (permalink / raw
To: gentoo-dev
On 15/07/2003 at 19:46:38(-0400), Brett I. Holcomb used 1.4K just to say:
> I'm working on an ebuild for getting a program for cvs and have some
> questions. The ebuild succesfully fetchs, unpacks, and compiles the cvs
> source but I'm puzzled on some aspects of src_install.
>
> I notice that the make install command references ${D} as in
> prefix=${D}/somedir or mandir=${D}/usr/share/man. However ${D} is
> essentially a temporary directory (${PORTAGE_TMPDIR}/PORTAGE/${PF}/image)
> which is used to construct the directory structure of the program as it will
> be after it's installed to /usr or wherever. In short, the entire program
> install with all it's directory is built under ${D}.
>
> After looking at the emake and other eclass functions I can not see where the
> tree in ${D} is moved to the final location (say /usr/someprog from
> ${D}/usr/someprog) but it obviously happens <G>! Is there some portage code
> somewhere that does the move? How does the move happen and when?
man ebuild
/qmerge
--
() Georgi Georgiev () Sigmund Freud is alleged to have said that ()
() chutz@gg3.net () in the last analysis the entire field of ()
() +81(90)6266-1163 () psychology may reduce to biological ()
() ------------------- () electrochemistry. ()
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] How does ebuild move files to the final destination
2003-07-16 1:51 ` Georgi Georgiev
@ 2003-07-16 2:07 ` Brett I. Holcomb
0 siblings, 0 replies; 3+ messages in thread
From: Brett I. Holcomb @ 2003-07-16 2:07 UTC (permalink / raw
To: gentoo-dev
Thank you very much! Eventully I'll have all the pieces together <G>!
> On 15/07/2003 at 19:46:38(-0400), Brett I. Holcomb used 1.4K just to say:
> > I'm working on an ebuild for getting a program for cvs and have some
> > questions. The ebuild succesfully fetchs, unpacks, and compiles the cvs
> > ${D}/usr/someprog) but it obviously happens <G>! Is there some portage
> > code somewhere that does the move? How does the move happen and when?
>
> man ebuild
> /qmerge
--
Brett I. Holcomb
AKA Grunt <><
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-07-16 2:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-15 23:46 [gentoo-dev] How does ebuild move files to the final destination Brett I. Holcomb
2003-07-16 1:51 ` Georgi Georgiev
2003-07-16 2:07 ` Brett I. Holcomb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox