cmake 2.8.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/ext/cmake/extconf.rb +12 -0
  2. data/lib/cmake.rb +11 -0
  3. metadata +68 -0
@@ -0,0 +1,12 @@
1
+ require 'mkmf'
2
+
3
+ root = File.expand_path('../../..', __FILE__)
4
+
5
+ Dir.chdir(File.join(root, 'vendor/cmake-2.8.7')) do
6
+ system "./bootstrap", "--prefix=#{root}"
7
+ system "make"
8
+ system "make install"
9
+ system "make clean"
10
+ end
11
+
12
+ create_makefile 'cmake'
@@ -0,0 +1,11 @@
1
+ require 'pathname'
2
+
3
+ module Cmake
4
+ Root = Pathname.new(File.expand_path('../..', __FILE__))
5
+ Bin = Root.join('bin')
6
+
7
+ Executables = Bin.children.inject({}) { |h, p|
8
+ h[p.basename.to_s.to_sym] = p.to_s
9
+ h
10
+ }
11
+ end
metadata ADDED
@@ -0,0 +1,68 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cmake
3
+ version: !ruby/object:Gem::Version
4
+ hash: 33
5
+ prerelease:
6
+ segments:
7
+ - 2
8
+ - 8
9
+ - 7
10
+ version: 2.8.7
11
+ platform: ruby
12
+ authors:
13
+ - PJ Kelly
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2012-02-16 00:00:00 -08:00
19
+ default_executable:
20
+ dependencies: []
21
+
22
+ description: CMake Ruby Wrapper
23
+ email: me@pjkel.ly
24
+ executables: []
25
+
26
+ extensions:
27
+ - ext/cmake/extconf.rb
28
+ extra_rdoc_files: []
29
+
30
+ files:
31
+ - lib/cmake.rb
32
+ - ext/cmake/extconf.rb
33
+ has_rdoc: true
34
+ homepage:
35
+ licenses: []
36
+
37
+ post_install_message:
38
+ rdoc_options: []
39
+
40
+ require_paths:
41
+ - lib
42
+ required_ruby_version: !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ hash: 3
48
+ segments:
49
+ - 0
50
+ version: "0"
51
+ required_rubygems_version: !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ hash: 3
57
+ segments:
58
+ - 0
59
+ version: "0"
60
+ requirements: []
61
+
62
+ rubyforge_project:
63
+ rubygems_version: 1.6.2
64
+ signing_key:
65
+ specification_version: 3
66
+ summary: CMake Ruby Wrapper
67
+ test_files: []
68
+