bunchr 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. data/README.md +148 -116
  2. data/bunchr.gemspec +1 -1
  3. data/lib/bunchr/version.rb +1 -1
  4. data/lib/bunchr.rb +2 -0
  5. data/pkg/bunchr-0.1.1/README.md +355 -0
  6. data/pkg/bunchr-0.1.1/Rakefile +9 -0
  7. data/pkg/bunchr-0.1.1/TODO +7 -0
  8. data/pkg/bunchr-0.1.1/bunchr.gemspec +34 -0
  9. data/pkg/bunchr-0.1.1/doc/Bunchr/Logger.html +201 -0
  10. data/pkg/bunchr-0.1.1/doc/Bunchr/Ohai.html +201 -0
  11. data/pkg/bunchr-0.1.1/doc/Bunchr/Packages.html +1840 -0
  12. data/pkg/bunchr-0.1.1/doc/Bunchr/Software.html +1727 -0
  13. data/pkg/bunchr-0.1.1/doc/Bunchr/Utils.html +334 -0
  14. data/pkg/bunchr-0.1.1/doc/Bunchr.html +124 -0
  15. data/pkg/bunchr-0.1.1/doc/_index.html +181 -0
  16. data/pkg/bunchr-0.1.1/doc/class_list.html +47 -0
  17. data/pkg/bunchr-0.1.1/doc/css/common.css +1 -0
  18. data/pkg/bunchr-0.1.1/doc/css/full_list.css +55 -0
  19. data/pkg/bunchr-0.1.1/doc/css/style.css +322 -0
  20. data/pkg/bunchr-0.1.1/doc/file.README.html +376 -0
  21. data/pkg/bunchr-0.1.1/doc/file_list.html +49 -0
  22. data/pkg/bunchr-0.1.1/doc/frames.html +13 -0
  23. data/pkg/bunchr-0.1.1/doc/index.html +376 -0
  24. data/pkg/bunchr-0.1.1/doc/js/app.js +205 -0
  25. data/pkg/bunchr-0.1.1/doc/js/full_list.js +173 -0
  26. data/pkg/bunchr-0.1.1/doc/js/jquery.js +16 -0
  27. data/pkg/bunchr-0.1.1/doc/method_list.html +438 -0
  28. data/pkg/bunchr-0.1.1/doc/top-level-namespace.html +105 -0
  29. data/pkg/bunchr-0.1.1/example_recipes/autoconf.rake +18 -0
  30. data/pkg/bunchr-0.1.1/example_recipes/libyaml.rake +18 -0
  31. data/pkg/bunchr-0.1.1/example_recipes/openssl.rake +54 -0
  32. data/pkg/bunchr-0.1.1/example_recipes/ruby.rake +38 -0
  33. data/pkg/bunchr-0.1.1/example_recipes/sensu.rake +18 -0
  34. data/pkg/bunchr-0.1.1/example_recipes/sensu_bin_stubs.rake +17 -0
  35. data/pkg/bunchr-0.1.1/example_recipes/sensu_configs.rake +30 -0
  36. data/pkg/bunchr-0.1.1/example_recipes/sensu_dashboard.rake +17 -0
  37. data/pkg/bunchr-0.1.1/example_recipes/zlib.rake +32 -0
  38. data/pkg/bunchr-0.1.1/lib/bunchr/logger.rb +18 -0
  39. data/pkg/bunchr-0.1.1/lib/bunchr/ohai.rb +18 -0
  40. data/pkg/bunchr-0.1.1/lib/bunchr/packages.rb +176 -0
  41. data/pkg/bunchr-0.1.1/lib/bunchr/software.rb +164 -0
  42. data/pkg/bunchr-0.1.1/lib/bunchr/utils.rb +36 -0
  43. data/pkg/bunchr-0.1.1/lib/bunchr/version.rb +3 -0
  44. data/pkg/bunchr-0.1.1/lib/bunchr.rb +44 -0
  45. data/pkg/bunchr-0.1.1.gem +0 -0
  46. metadata +123 -62
@@ -0,0 +1,438 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html>
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+
7
+ <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
8
+
9
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
10
+
11
+
12
+
13
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
16
+
17
+
18
+ <base id="base_target" target="_parent" />
19
+ </head>
20
+ <body>
21
+ <script type="text/javascript" charset="utf-8">
22
+ if (window.top.frames.main) {
23
+ document.getElementById('base_target').target = 'main';
24
+ document.body.className = 'frames';
25
+ }
26
+ </script>
27
+ <div id="content">
28
+ <h1 id="full_list_header">Method List</h1>
29
+ <div id="nav">
30
+
31
+ <a target="_self" href="class_list.html">Classes</a>
32
+
33
+ <a target="_self" href="method_list.html">Methods</a>
34
+
35
+ <a target="_self" href="file_list.html">Files</a>
36
+
37
+ </div>
38
+ <div id="search">Search: <input type="text" /></div>
39
+
40
+ <ul id="full_list" class="methods">
41
+
42
+
43
+ <li class="r1 ">
44
+ <span class='object_link'><a href="Bunchr/Packages.html#arch-instance_method" title="Bunchr::Packages#arch (method)">#arch</a></span>
45
+
46
+ <small>Bunchr::Packages</small>
47
+
48
+ </li>
49
+
50
+
51
+ <li class="r2 ">
52
+ <span class='object_link'><a href="Bunchr/Packages.html#arch%3D-instance_method" title="Bunchr::Packages#arch= (method)">#arch=</a></span>
53
+
54
+ <small>Bunchr::Packages</small>
55
+
56
+ </li>
57
+
58
+
59
+ <li class="r1 ">
60
+ <span class='object_link'><a href="Bunchr/Software.html#build-instance_method" title="Bunchr::Software#build (method)">#build</a></span>
61
+
62
+ <small>Bunchr::Software</small>
63
+
64
+ </li>
65
+
66
+
67
+ <li class="r2 ">
68
+ <span class='object_link'><a href="Bunchr/Software.html#build_commands-instance_method" title="Bunchr::Software#build_commands (method)">#build_commands</a></span>
69
+
70
+ <small>Bunchr::Software</small>
71
+
72
+ </li>
73
+
74
+
75
+ <li class="r1 ">
76
+ <span class='object_link'><a href="Bunchr/Software.html#build_environment-instance_method" title="Bunchr::Software#build_environment (method)">#build_environment</a></span>
77
+
78
+ <small>Bunchr::Software</small>
79
+
80
+ </li>
81
+
82
+
83
+ <li class="r2 ">
84
+ <span class='object_link'><a href="Bunchr/Packages.html#category-instance_method" title="Bunchr::Packages#category (method)">#category</a></span>
85
+
86
+ <small>Bunchr::Packages</small>
87
+
88
+ </li>
89
+
90
+
91
+ <li class="r1 ">
92
+ <span class='object_link'><a href="Bunchr/Packages.html#config_files-instance_method" title="Bunchr::Packages#config_files (method)">#config_files</a></span>
93
+
94
+ <small>Bunchr::Packages</small>
95
+
96
+ </li>
97
+
98
+
99
+ <li class="r2 ">
100
+ <span class='object_link'><a href="Bunchr/Packages.html#define-instance_method" title="Bunchr::Packages#define (method)">#define</a></span>
101
+
102
+ <small>Bunchr::Packages</small>
103
+
104
+ </li>
105
+
106
+
107
+ <li class="r1 ">
108
+ <span class='object_link'><a href="Bunchr/Software.html#define-instance_method" title="Bunchr::Software#define (method)">#define</a></span>
109
+
110
+ <small>Bunchr::Software</small>
111
+
112
+ </li>
113
+
114
+
115
+ <li class="r2 ">
116
+ <span class='object_link'><a href="Bunchr/Software.html#define_build-instance_method" title="Bunchr::Software#define_build (method)">#define_build</a></span>
117
+
118
+ <small>Bunchr::Software</small>
119
+
120
+ </li>
121
+
122
+
123
+ <li class="r1 ">
124
+ <span class='object_link'><a href="Bunchr/Packages.html#define_build_all-instance_method" title="Bunchr::Packages#define_build_all (method)">#define_build_all</a></span>
125
+
126
+ <small>Bunchr::Packages</small>
127
+
128
+ </li>
129
+
130
+
131
+ <li class="r2 ">
132
+ <span class='object_link'><a href="Bunchr/Packages.html#define_build_deb-instance_method" title="Bunchr::Packages#define_build_deb (method)">#define_build_deb</a></span>
133
+
134
+ <small>Bunchr::Packages</small>
135
+
136
+ </li>
137
+
138
+
139
+ <li class="r1 ">
140
+ <span class='object_link'><a href="Bunchr/Packages.html#define_build_rpm-instance_method" title="Bunchr::Packages#define_build_rpm (method)">#define_build_rpm</a></span>
141
+
142
+ <small>Bunchr::Packages</small>
143
+
144
+ </li>
145
+
146
+
147
+ <li class="r2 ">
148
+ <span class='object_link'><a href="Bunchr/Packages.html#define_build_tarball-instance_method" title="Bunchr::Packages#define_build_tarball (method)">#define_build_tarball</a></span>
149
+
150
+ <small>Bunchr::Packages</small>
151
+
152
+ </li>
153
+
154
+
155
+ <li class="r1 ">
156
+ <span class='object_link'><a href="Bunchr/Software.html#define_download-instance_method" title="Bunchr::Software#define_download (method)">#define_download</a></span>
157
+
158
+ <small>Bunchr::Software</small>
159
+
160
+ </li>
161
+
162
+
163
+ <li class="r2 ">
164
+ <span class='object_link'><a href="Bunchr/Software.html#define_install-instance_method" title="Bunchr::Software#define_install (method)">#define_install</a></span>
165
+
166
+ <small>Bunchr::Software</small>
167
+
168
+ </li>
169
+
170
+
171
+ <li class="r1 ">
172
+ <span class='object_link'><a href="Bunchr/Software.html#depends_on-instance_method" title="Bunchr::Software#depends_on (method)">#depends_on</a></span>
173
+
174
+ <small>Bunchr::Software</small>
175
+
176
+ </li>
177
+
178
+
179
+ <li class="r2 ">
180
+ <span class='object_link'><a href="Bunchr/Packages.html#description-instance_method" title="Bunchr::Packages#description (method)">#description</a></span>
181
+
182
+ <small>Bunchr::Packages</small>
183
+
184
+ </li>
185
+
186
+
187
+ <li class="r1 ">
188
+ <span class='object_link'><a href="Bunchr/Software.html#dotfile-instance_method" title="Bunchr::Software#dotfile (method)">#dotfile</a></span>
189
+
190
+ <small>Bunchr::Software</small>
191
+
192
+ </li>
193
+
194
+
195
+ <li class="r2 ">
196
+ <span class='object_link'><a href="Bunchr/Software.html#dotfile%21-instance_method" title="Bunchr::Software#dotfile! (method)">#dotfile!</a></span>
197
+
198
+ <small>Bunchr::Software</small>
199
+
200
+ </li>
201
+
202
+
203
+ <li class="r1 ">
204
+ <span class='object_link'><a href="Bunchr/Software.html#download-instance_method" title="Bunchr::Software#download (method)">#download</a></span>
205
+
206
+ <small>Bunchr::Software</small>
207
+
208
+ </li>
209
+
210
+
211
+ <li class="r2 ">
212
+ <span class='object_link'><a href="Bunchr/Software.html#download_commands-instance_method" title="Bunchr::Software#download_commands (method)">#download_commands</a></span>
213
+
214
+ <small>Bunchr::Software</small>
215
+
216
+ </li>
217
+
218
+
219
+ <li class="r1 ">
220
+ <span class='object_link'><a href="Bunchr/Software.html#download_dir-instance_method" title="Bunchr::Software#download_dir (method)">#download_dir</a></span>
221
+
222
+ <small>Bunchr::Software</small>
223
+
224
+ </li>
225
+
226
+
227
+ <li class="r2 ">
228
+ <span class='object_link'><a href="Bunchr/Software.html#download_environment-instance_method" title="Bunchr::Software#download_environment (method)">#download_environment</a></span>
229
+
230
+ <small>Bunchr::Software</small>
231
+
232
+ </li>
233
+
234
+
235
+ <li class="r1 ">
236
+ <span class='object_link'><a href="Bunchr/Packages.html#files-instance_method" title="Bunchr::Packages#files (method)">#files</a></span>
237
+
238
+ <small>Bunchr::Packages</small>
239
+
240
+ </li>
241
+
242
+
243
+ <li class="r2 ">
244
+ <span class='object_link'><a href="Bunchr/Packages.html#fpm_config_files_args-instance_method" title="Bunchr::Packages#fpm_config_files_args (method)">#fpm_config_files_args</a></span>
245
+
246
+ <small>Bunchr::Packages</small>
247
+
248
+ </li>
249
+
250
+
251
+ <li class="r1 ">
252
+ <span class='object_link'><a href="Bunchr/Packages.html#fpm_scripts_args-instance_method" title="Bunchr::Packages#fpm_scripts_args (method)">#fpm_scripts_args</a></span>
253
+
254
+ <small>Bunchr::Packages</small>
255
+
256
+ </li>
257
+
258
+
259
+ <li class="r2 ">
260
+ <span class='object_link'><a href="Bunchr/Packages.html#include_software-instance_method" title="Bunchr::Packages#include_software (method)">#include_software</a></span>
261
+
262
+ <small>Bunchr::Packages</small>
263
+
264
+ </li>
265
+
266
+
267
+ <li class="r1 ">
268
+ <span class='object_link'><a href="Bunchr/Packages.html#initialize-instance_method" title="Bunchr::Packages#initialize (method)">#initialize</a></span>
269
+
270
+ <small>Bunchr::Packages</small>
271
+
272
+ </li>
273
+
274
+
275
+ <li class="r2 ">
276
+ <span class='object_link'><a href="Bunchr/Software.html#initialize-instance_method" title="Bunchr::Software#initialize (method)">#initialize</a></span>
277
+
278
+ <small>Bunchr::Software</small>
279
+
280
+ </li>
281
+
282
+
283
+ <li class="r1 ">
284
+ <span class='object_link'><a href="Bunchr/Software.html#install-instance_method" title="Bunchr::Software#install (method)">#install</a></span>
285
+
286
+ <small>Bunchr::Software</small>
287
+
288
+ </li>
289
+
290
+
291
+ <li class="r2 ">
292
+ <span class='object_link'><a href="Bunchr/Software.html#install_commands-instance_method" title="Bunchr::Software#install_commands (method)">#install_commands</a></span>
293
+
294
+ <small>Bunchr::Software</small>
295
+
296
+ </li>
297
+
298
+
299
+ <li class="r1 ">
300
+ <span class='object_link'><a href="Bunchr/Software.html#install_environment-instance_method" title="Bunchr::Software#install_environment (method)">#install_environment</a></span>
301
+
302
+ <small>Bunchr::Software</small>
303
+
304
+ </li>
305
+
306
+
307
+ <li class="r2 ">
308
+ <span class='object_link'><a href="Bunchr/Packages.html#iteration-instance_method" title="Bunchr::Packages#iteration (method)">#iteration</a></span>
309
+
310
+ <small>Bunchr::Packages</small>
311
+
312
+ </li>
313
+
314
+
315
+ <li class="r1 ">
316
+ <span class='object_link'><a href="Bunchr/Packages.html#license-instance_method" title="Bunchr::Packages#license (method)">#license</a></span>
317
+
318
+ <small>Bunchr::Packages</small>
319
+
320
+ </li>
321
+
322
+
323
+ <li class="r2 ">
324
+ <span class='object_link'><a href="Bunchr/Utils.html#logger-instance_method" title="Bunchr::Utils#logger (method)">#logger</a></span>
325
+
326
+ <small>Bunchr::Utils</small>
327
+
328
+ </li>
329
+
330
+
331
+ <li class="r1 ">
332
+ <span class='object_link'><a href="Bunchr/Logger.html#logger-class_method" title="Bunchr::Logger.logger (method)">logger</a></span>
333
+
334
+ <small>Bunchr::Logger</small>
335
+
336
+ </li>
337
+
338
+
339
+ <li class="r2 ">
340
+ <span class='object_link'><a href="Bunchr/Software.html#name-instance_method" title="Bunchr::Software#name (method)">#name</a></span>
341
+
342
+ <small>Bunchr::Software</small>
343
+
344
+ </li>
345
+
346
+
347
+ <li class="r1 ">
348
+ <span class='object_link'><a href="Bunchr/Packages.html#name-instance_method" title="Bunchr::Packages#name (method)">#name</a></span>
349
+
350
+ <small>Bunchr::Packages</small>
351
+
352
+ </li>
353
+
354
+
355
+ <li class="r2 ">
356
+ <span class='object_link'><a href="Bunchr/Utils.html#ohai-instance_method" title="Bunchr::Utils#ohai (method)">#ohai</a></span>
357
+
358
+ <small>Bunchr::Utils</small>
359
+
360
+ </li>
361
+
362
+
363
+ <li class="r1 ">
364
+ <span class='object_link'><a href="Bunchr/Ohai.html#ohai-class_method" title="Bunchr::Ohai.ohai (method)">ohai</a></span>
365
+
366
+ <small>Bunchr::Ohai</small>
367
+
368
+ </li>
369
+
370
+
371
+ <li class="r2 ">
372
+ <span class='object_link'><a href="Bunchr/Packages.html#scripts-instance_method" title="Bunchr::Packages#scripts (method)">#scripts</a></span>
373
+
374
+ <small>Bunchr::Packages</small>
375
+
376
+ </li>
377
+
378
+
379
+ <li class="r1 ">
380
+ <span class='object_link'><a href="Bunchr/Utils.html#sh-instance_method" title="Bunchr::Utils#sh (method)">#sh</a></span>
381
+
382
+ <small>Bunchr::Utils</small>
383
+
384
+ </li>
385
+
386
+
387
+ <li class="r2 ">
388
+ <span class='object_link'><a href="Bunchr/Packages.html#url-instance_method" title="Bunchr::Packages#url (method)">#url</a></span>
389
+
390
+ <small>Bunchr::Packages</small>
391
+
392
+ </li>
393
+
394
+
395
+ <li class="r1 ">
396
+ <span class='object_link'><a href="Bunchr/Packages.html#vendor-instance_method" title="Bunchr::Packages#vendor (method)">#vendor</a></span>
397
+
398
+ <small>Bunchr::Packages</small>
399
+
400
+ </li>
401
+
402
+
403
+ <li class="r2 ">
404
+ <span class='object_link'><a href="Bunchr/Packages.html#version-instance_method" title="Bunchr::Packages#version (method)">#version</a></span>
405
+
406
+ <small>Bunchr::Packages</small>
407
+
408
+ </li>
409
+
410
+
411
+ <li class="r1 ">
412
+ <span class='object_link'><a href="Bunchr/Software.html#version-instance_method" title="Bunchr::Software#version (method)">#version</a></span>
413
+
414
+ <small>Bunchr::Software</small>
415
+
416
+ </li>
417
+
418
+
419
+ <li class="r2 ">
420
+ <span class='object_link'><a href="Bunchr/Software.html#work_dir-instance_method" title="Bunchr::Software#work_dir (method)">#work_dir</a></span>
421
+
422
+ <small>Bunchr::Software</small>
423
+
424
+ </li>
425
+
426
+
427
+ <li class="r1 ">
428
+ <span class='object_link'><a href="Bunchr/Software.html#work_dir%3D-instance_method" title="Bunchr::Software#work_dir= (method)">#work_dir=</a></span>
429
+
430
+ <small>Bunchr::Software</small>
431
+
432
+ </li>
433
+
434
+
435
+ </ul>
436
+ </div>
437
+ </body>
438
+ </html>
@@ -0,0 +1,105 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Top Level Namespace
8
+
9
+ &mdash; Documentation by YARD 0.7.5
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ relpath = '';
19
+ if (relpath != '') relpath += '/';
20
+ </script>
21
+
22
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
23
+
24
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
25
+
26
+
27
+ </head>
28
+ <body>
29
+ <script type="text/javascript" charset="utf-8">
30
+ if (window.top.frames.main) document.body.className = 'frames';
31
+ </script>
32
+
33
+ <div id="header">
34
+ <div id="menu">
35
+
36
+ <a href="_index.html">Index</a> &raquo;
37
+
38
+
39
+ <span class="title">Top Level Namespace</span>
40
+
41
+
42
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
+ </div>
44
+
45
+ <div id="search">
46
+
47
+ <a id="class_list_link" href="#">Class List</a>
48
+
49
+ <a id="method_list_link" href="#">Method List</a>
50
+
51
+ <a id="file_list_link" href="#">File List</a>
52
+
53
+ </div>
54
+ <div class="clear"></div>
55
+ </div>
56
+
57
+ <iframe id="search_frame"></iframe>
58
+
59
+ <div id="content"><h1>Top Level Namespace
60
+
61
+
62
+
63
+ </h1>
64
+
65
+ <dl class="box">
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+
74
+ </dl>
75
+ <div class="clear"></div>
76
+
77
+ <h2>Defined Under Namespace</h2>
78
+ <p class="children">
79
+
80
+
81
+ <strong class="modules">Modules:</strong> <span class='object_link'><a href="Bunchr.html" title="Bunchr (module)">Bunchr</a></span>
82
+
83
+
84
+
85
+
86
+ </p>
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+ </div>
97
+
98
+ <div id="footer">
99
+ Generated on Wed Apr 18 17:18:48 2012 by
100
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
101
+ 0.7.5 (ruby-1.9.2).
102
+ </div>
103
+
104
+ </body>
105
+ </html>
@@ -0,0 +1,18 @@
1
+ Bunchr::Software.new do |t|
2
+ t.name = 'autoconf'
3
+ t.version = '2.63'
4
+
5
+ install_prefix = "#{Bunchr.install_dir}/embedded"
6
+
7
+ t.download_commands << "curl -O http://ftp.gnu.org/gnu/autoconf/autoconf-2.63.tar.gz"
8
+ t.download_commands << "tar xfvz autoconf-2.63.tar.gz"
9
+
10
+ t.build_environment['LDFLAGS'] = "-R#{install_prefix}/lib -L#{install_prefix}/lib -I#{install_prefix}/include"
11
+ t.build_environment['CFLAGS'] = "-L#{install_prefix}/lib -I#{install_prefix}/include"
12
+ t.build_commands << "./configure --prefix=#{install_prefix}"
13
+ t.build_commands << "make"
14
+
15
+ t.install_commands << "make install"
16
+
17
+ CLEAN << install_prefix
18
+ end
@@ -0,0 +1,18 @@
1
+ Bunchr::Software.new do |t|
2
+ t.name = 'libyaml'
3
+ t.version = '0.1.4'
4
+
5
+ install_prefix = "#{Bunchr.install_dir}/embedded"
6
+
7
+ t.download_commands << "curl -O http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz"
8
+ t.download_commands << "tar xfvz yaml-0.1.4.tar.gz"
9
+
10
+ t.work_dir = "yaml-#{t.version}"
11
+
12
+ t.build_commands << "./configure --prefix=#{install_prefix}"
13
+ t.build_commands << "make"
14
+
15
+ t.install_commands << "make install"
16
+
17
+ CLEAN << install_prefix
18
+ end
@@ -0,0 +1,54 @@
1
+ Bunchr::Software.new do |t|
2
+ t.name = 'openssl'
3
+ t.version = '1.0.1'
4
+
5
+ install_prefix = "#{Bunchr.install_dir}/embedded"
6
+
7
+ ## download_commands are executed in the +download_dir+ directory.
8
+ t.download_commands << "curl -O http://www.openssl.org/source/openssl-1.0.1.tar.gz"
9
+ t.download_commands << "tar xfvz openssl-1.0.1.tar.gz"
10
+
11
+ ## build_commands are executed in the +work_dir+ directory.
12
+ ## If work_dir is not specified, it is assumed to be "name-version" or "name"
13
+ ## which is typically the case for tarballs. Can be overriden here, eg:
14
+ ## t.work_dir = "openssl"
15
+
16
+ os = t.ohai['os']
17
+ arch = t.ohai['kernel']['machine']
18
+
19
+ if os == 'darwin' && arch == 'x86_64'
20
+ # mac 64bit specifics
21
+ t.build_commands << "./Configure darwin64-x86_64-cc \
22
+ --prefix=#{install_prefix} \
23
+ --with-zlib-lib=#{install_prefix}/lib \
24
+ --with-zlib-include=#{install_prefix}/include \
25
+ zlib shared"
26
+ elsif os == 'solaris2'
27
+ # solaris2 specifics
28
+ t.build_commands << "./Configure solaris-x86-gcc \
29
+ --prefix=#{install_prefix} \
30
+ --with-zlib-lib=#{install_prefix}/lib \
31
+ --with-zlib-include=#{install_prefix}/include \
32
+ zlib shared \
33
+ -L#{install_prefix}/lib \
34
+ -I#{install_prefix}/include \
35
+ -R#{install_prefix}/lib"
36
+ else
37
+ # all other platforms
38
+ t.build_commands << "./config \
39
+ --prefix=#{install_prefix} \
40
+ --with-zlib-lib=#{install_prefix}/lib \
41
+ --with-zlib-include=#{install_prefix}/include \
42
+ zlib shared \
43
+ -L#{install_prefix}/lib \
44
+ -I#{install_prefix}/include"
45
+ end
46
+ t.build_environment['LD_RUN_PATH'] = "#{install_prefix}/lib"
47
+ t.build_commands << "make"
48
+
49
+ ## install_commands are executed in the +work_dir+ directory.
50
+ t.install_commands << "make install"
51
+ t.install_commands << "rm -rf #{install_prefix}/ssl/man"
52
+
53
+ CLEAN << install_prefix
54
+ end
@@ -0,0 +1,38 @@
1
+ Bunchr::Software.new do |t|
2
+ t.name = 'ruby'
3
+ t.version = '1.9.3-p125'
4
+
5
+ t.depends_on('autoconf')
6
+ t.depends_on('zlib')
7
+ t.depends_on('openssl')
8
+ t.depends_on('libyaml')
9
+
10
+ install_prefix = "#{Bunchr.install_dir}/embedded"
11
+
12
+ os = t.ohai['os']
13
+ arch = t.ohai['kernel']['machine']
14
+
15
+ t.download_commands << "curl -O http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz"
16
+ t.download_commands << "tar xfvz ruby-1.9.3-p125.tar.gz"
17
+
18
+ if os == 'darwin' && arch == 'x86_64'
19
+ t.build_environment['LDFLAGS'] = "-arch x86_64 -R#{install_prefix}/lib -L#{install_prefix}/lib -I#{install_prefix}/include"
20
+ t.build_environment['CFLAGS'] = "-arch x86_64 -m64 -L#{install_prefix}/lib -I#{install_prefix}/include"
21
+ elsif os == 'linux'
22
+ t.build_environment['LDFLAGS'] = "-Wl,-rpath #{install_prefix}/lib -L#{install_prefix}/lib -I#{install_prefix}/include"
23
+ t.build_environment['CFLAGS'] = "-L#{install_prefix}/lib -I#{install_prefix}/include"
24
+ elsif os == 'solaris2'
25
+ t.build_environment['LDFLAGS'] = "-R#{install_prefix}/lib -L#{install_prefix}/lib -I#{install_prefix}/include"
26
+ t.build_environment['CFLAGS'] = "-L#{install_prefix}/lib -I#{install_prefix}/include"
27
+ end
28
+
29
+ t.build_commands << "./configure --prefix=#{install_prefix} \
30
+ --with-opt-dir=#{install_prefix} \
31
+ --enable-shared \
32
+ --disable-install-doc"
33
+ t.build_commands << "make"
34
+
35
+ t.install_commands << "make install"
36
+
37
+ CLEAN << install_prefix
38
+ end