taglib-heroku 1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/ext/taglib/extconf.rb +12 -0
  2. data/lib/taglib.rb +11 -0
  3. metadata +80 -0
@@ -0,0 +1,12 @@
1
+ require 'mkmf'
2
+
3
+ root = File.expand_path('../../..', __FILE__)
4
+
5
+ Dir.chdir(File.join(root, 'vendor/taglib-1.7')) do
6
+ system "cmake", "-DCMAKE_INSTALL_PREFIX=#{root} ."
7
+ system "make"
8
+ system "make install"
9
+ system "make clean"
10
+ end
11
+
12
+ create_makefile 'taglib'
data/lib/taglib.rb ADDED
@@ -0,0 +1,11 @@
1
+ require 'pathname'
2
+
3
+ module Taglib
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,80 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: taglib-heroku
3
+ version: !ruby/object:Gem::Version
4
+ hash: 1
5
+ prerelease:
6
+ segments:
7
+ - 1
8
+ - 7
9
+ version: "1.7"
10
+ platform: ruby
11
+ authors:
12
+ - PJ Kelly
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2012-02-16 00:00:00 -08:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: cmake-heroku
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ hash: 3
29
+ segments:
30
+ - 0
31
+ version: "0"
32
+ type: :runtime
33
+ version_requirements: *id001
34
+ description: Ruby wrapper for installing Taglib on Heroku
35
+ email: me@pjkel.ly
36
+ executables: []
37
+
38
+ extensions:
39
+ - ext/taglib/extconf.rb
40
+ extra_rdoc_files: []
41
+
42
+ files:
43
+ - lib/taglib.rb
44
+ - ext/taglib/extconf.rb
45
+ has_rdoc: true
46
+ homepage:
47
+ licenses: []
48
+
49
+ post_install_message:
50
+ rdoc_options: []
51
+
52
+ require_paths:
53
+ - lib
54
+ required_ruby_version: !ruby/object:Gem::Requirement
55
+ none: false
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ hash: 3
60
+ segments:
61
+ - 0
62
+ version: "0"
63
+ required_rubygems_version: !ruby/object:Gem::Requirement
64
+ none: false
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ hash: 3
69
+ segments:
70
+ - 0
71
+ version: "0"
72
+ requirements: []
73
+
74
+ rubyforge_project:
75
+ rubygems_version: 1.6.2
76
+ signing_key:
77
+ specification_version: 3
78
+ summary: Ruby wrapper for installing Taglib on Heroku
79
+ test_files: []
80
+