tools/dev/install_files.pl - Copy files to their correct locations
% perl tools/dev/install_files.pl [options]
Use a detailed MANIFEST to install a set of files.
buildprefix
The build prefix. Defaults to ''.
prefix
The install prefix. Defaults to '/usr'.
exec_prefix
The exec prefix. Defaults to '/usr'.
bindir
The executables directory. Defaults to '/usr/bin'.
libdir
The library directory. Defaults to '/usr/lib'.
includedir
The header directory. Defaults to '/usr/include'.
The format of the MANIFEST (currently MANIFEST and MANIFEST.generated are used) is:
source_path <whitespace> [package]meta1,meta2,...
or you may optionally specify a different destination path:
source_path <whitespace> [package]meta1,meta2,... <whitespace> destination
Additionally, there may be a * in front of the whole line to designate a generated file:
source_path <whitespace> *[package]meta1,meta2,... <whitespace> destination
The square brackets around package are literal. package gives the name of the RPM that the given file will be installed for, and is only used by this script to skip files that are not members of any package.
package
The various meta flags recognized are:
doc
Tag this file with %doc in the RPM, and omit the leading path (because rpm will put it into a directory of its choosing)
include
Write this file to the location given by the --includedir option
--includedir
lib
Write this file to the location given by the --libdir option
--libdir
bin
Write this file to the location given by the --bindir option
--bindir
The optional destination field provides a general way to change where a file will be written to. It will be applied before any metadata tags.
destination
Example: if this line is in the MANIFEST.generated file
languages/snorkfest/snork-compile [main]bin
and the --bindir=/usr/parroty/bin, then the generated parrot-<VERSION>-1.<arch>.rpm file will contain the file /usr/parroty/bin/snork-compile.
tools/dev/mk_manifests.pl
To install Ruby, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Ruby
CPAN shell
perl -MCPAN -e shell install Ruby
For more information on module installation, please visit the detailed CPAN module installation guide.