View previous topic :: View next topic |
Author |
Message |
radfaraf n00b
Joined: 25 May 2002 Posts: 55 Location: NJ
|
Posted: Sat Oct 12, 2002 1:56 am Post subject: what is ${D} in ebuilds |
|
|
I'm noticing ${D} in some of the ebuilds I looked at as I try to learn how to do my own. I don't see it in the Developers HOWTO so I was wondering if someone can tell me what it is used for .
Here's an example
Code: |
src_install () {
python setup.py ${myconf} install --prefix=${D}/usr || die
dodoc BUILD.unix.txt CHANGES.txt MANIFEST.in PKG-INFO README.txt
}
|
Unrelated note where can I get this program for use with ebuilds.
change - Can create a new ChangeLog or add an entry to an existing one. |
|
Back to top |
|
|
fghellar Bodhisattva
Joined: 10 Apr 2002 Posts: 856 Location: Porto Alegre, BR
|
Posted: Sat Oct 12, 2002 2:33 am Post subject: |
|
|
${D} expands to /var/tmp/portage/<package>/image/
This is where the files get installed before they are actually merged into the system. Sandbox will not allow any file to be installed directly into the live system. _________________ | www.gentoo.org | www.tldp.org | www.google.com | |
|
Back to top |
|
|
iKiddo Guru
Joined: 27 Jun 2002 Posts: 341 Location: Europe?
|
Posted: Sat Oct 12, 2002 3:24 pm Post subject: |
|
|
I also found two other undocumented variables, ${PV} and ${PN} I guess they've got something to do with ${P}. Can someone pls explain what they are? |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Sat Oct 12, 2002 4:32 pm Post subject: |
|
|
iKiddo wrote: | I also found two other undocumented variables, ${PV} and ${PN} |
${PN} seems to be the "name" portion of ${P}, ${PV} the "version" portion. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
bverheg n00b
Joined: 01 Sep 2002 Posts: 39 Location: Vlaanderen
|
Posted: Sat Oct 12, 2002 6:52 pm Post subject: |
|
|
You can learn more about these and other variables by reading
|
|
Back to top |
|
|
|