File: Usage_en.txt

package info (click to toggle)
libsetup-ruby 3.4.1-4
  • links: PTS, VCS
  • area: main
  • in suites: lenny, squeeze
  • size: 284 kB
  • ctags: 231
  • sloc: ruby: 1,373; makefile: 43; sh: 21
file content (231 lines) | stat: -rw-r--r-- 4,465 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
Installing Programs with setup.rb
=================================

Quick Start
-----------

  Type this (You might needs super user previledge):

    ($ su)
     # ruby setup.rb

  If you want to install a program in to your home directory
  ($HOME), use following instead:

    $ ruby setup.rb all --prefix=$HOME

Detailed Installtion Process
----------------------------

  setup.rb invokes installation by three steps.  There are
  "config", "setup" and "install".  You can invoke each steps
  separately as following:

    $ ruby setup.rb config
    $ ruby setup.rb setup
    # ruby setup.rb install

  You can controll installation process by giving detailed
  options for each tasks.  For example, --bin-dir=$HOME/bin
  let setup.rb install commands in $HOME/bin.

  For details, see "Task Options".

Global Options
--------------

  "Global Option" is a command line option which you can use
  for all tasks.  You must give a global option before any task
  name.

    -q,--quiet

        suppress message outputs

    --verbose

        output messages verbosely (default)

    -h,--help

        prints help and quit

    -v,--version

        prints version and quit

    --copyright

        prints copyright and quit

Tasks
-----

  These are acceptable tasks:

    all

        Invokes `config', `setup', then `install'.
        Task options for all is same with config.

    config

        Checks and saves configurations.

    show

        Prints current configurations.

    setup

        Compiles ruby extentions.

    install

        Installs files.

    test

        Invokes tests.

    clean

        Removes created files.

    distclean

        Removes all created files.

Task Options for CONFIG/ALL
---------------------------

  You can pass following long options for CONFIG task
  and ALL task.

  All options accept parameterized value, like
  --rbdir=$siterubyver or --sodir=$siterubyverarch.
  On UNIX shells, you should escape "$" character,
  so use --rbdir=\$siterubyver or --sodir=$siterubyverach.

    --installdirs=(std|site|home)

        A handy option to set common install target.

        std: install files under $libruby.

        site: install files under $siteruby.

        home: install files under home directory ($HOME).

    --prefix=PATH

        The path prefix of target directory pathes like $bindir, $libdir...

    --bindir=PATH

        The directory for commands.

    --rbdir=PATH

        The directory for ruby scripts.

    --sodir=PATH

        The directory for ruby extentions.

    --datadir=PATH

        The directory for shared data.

    --sysconfdir=PATH

        The directory for configuration files.

    --mandir=PATH

        The directory for manual pages.

    --libruby=PATH

        The directory for ruby libraries.

    --librubyver=PATH

        The directory for standard ruby libraries.

    --librubyverarch=PATH

        The directory for standard ruby extensions.

    --siteruby=PATH

        The directory for version-independent non-standard
        ruby libraries

    --siterubyver=PATH

        The directory for non-standard ruby libraries.

    --siterubyverarch=PATH

        The directory for non-standard ruby extensions.

    --rubypath=PATH

        The path to set to #! line.

    --shebang=(all|ruby|never)

        Shenbang line (#!) rewriting mode.

        all: replace all shebang lines.

        ruby: replace shebang lines which invokes ruby.

        never: never rewrite shebang.

    --rubyprog=PATH

        The ruby program using for installation.

    --makeprog=NAME

        The make program to compile ruby extentions.

    --without-ext

        Forces to setup.rb never to compile/install
        ruby extentions.

    --rbconfig=PATH

        Your rbconfig.rb to load.

  If there's the directory named "packages",
  You can also use these options:

    --with=NAME,NAME,NAME...

        Package names which you want to install.

    --without=NAME,NAME,NAME...

        Package names which you do not want to install.

  [NOTE] You can pass options to extconf.rb like this:

    ruby setup.rb config -- --with-tklib=/usr/lib/libtk-ja.so.8.0

Task Options for INSTALL
------------------------

    --no-harm

        prints what to do and done nothing really.

    --prefix=PATH

        The prefix of the installing directory path.
        This option may help binary package maintainers.
        A default value is an empty string.