|
|

楼主 |
发表于 2008-5-12 21:14:48
|
显示全部楼层
找到了FILESDIR的含义
http://devmanual.gentoo.org/ebuild-writing/variables/index.html
Predefined Read-Only Variables
The following variables are defined for you. You must not attempt to set them.
Variable Purpose
P Package name and version (excluding revision, if any), for example vim-6.3.
PN Package name, for example vim.
PV Package version (excluding revision, if any), for example 6.3.
PR Package revision, or r0 if no revision exists.
PVR Package version and revision, for example 6.3-r0, 6.3-r1.
PF Package name, version and revision, for example vim-6.3-r1.
A All the source files for the package (excluding those which are not available because of USE flags).
CATEGORY Package's category, for example app-editors.
FILESDIR Path to the ebuild's files/ directory, commonly used for small patches and files. Value: "${PORTDIR}/${CATEGORY}/${PN}/files".
WORKDIR Path to the ebuild's root build directory. Value: "${PORTAGE_TMPDIR}/portage/${PF}/work".
T Path to a temporary directory which may be used by the ebuild. Value: "${PORTAGE_TMPDIR}/portage/${PF}/temp".
D Path to the temporary install directory. Value: "${PORTAGE_TMPDIR}/portage/${PF}/image".
ROOT Path to the root directory. When not using ${D}, always prepend ${ROOT} to the path.
DISTDIR Contains the path to the directory where all the files fetched for the package are stored. |
|