xpdf 3.04

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 (4) hide show
  1. checksums.yaml +7 -0
  2. data/ext/xpdf/extconf.rb +12 -0
  3. data/lib/xpdf.rb +8 -0
  4. metadata +45 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 62b6a3c4a97dad0a1e73887f5d423840deaa6f62
4
+ data.tar.gz: d5316212eeffac78684cc5aa359fcba0d66d401a
5
+ SHA512:
6
+ metadata.gz: fa886b4b3760efa1c8ca77136f572d361e73485f50a0f45250d276174508d664b7a4b4d6849a0d51e7bd29f35e9fb56060759e5a8c670729752b6b1284e8b916
7
+ data.tar.gz: 5f1b1fb1ed1a3adcbbc7c2544ea667e45177ba0dcbfe8fd2ffc945f1c7de396bc19fcd109dee96b31e851f17e1e675978c01a5bcebce9bdb9cd02d5d7f09c89b
@@ -0,0 +1,12 @@
1
+ require 'mkmf'
2
+
3
+ root = File.expand_path('../../..', __FILE__)
4
+
5
+ Dir.chdir(File.join(root, 'vendor/xpdf-3.04')) do
6
+ system "./configure", "--prefix=#{root}"
7
+ system "make"
8
+ system "make install"
9
+ system "make clean"
10
+ end
11
+
12
+ create_makefile 'xpdf'
@@ -0,0 +1,8 @@
1
+ module Xpdf
2
+ ROOT = File.expand_path('../..', __FILE__)
3
+ BIN = File.join(ROOT, 'bin')
4
+
5
+ Dir.entries(BIN).each do |fn|
6
+ const_set(fn.upcase, File.join(BIN, fn)) unless fn.start_with?('.')
7
+ end
8
+ end
metadata ADDED
@@ -0,0 +1,45 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: xpdf
3
+ version: !ruby/object:Gem::Version
4
+ version: '3.04'
5
+ platform: ruby
6
+ authors:
7
+ - Joshua Peek (https://github.com/josh)
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-01-04 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Hax to get Xpdf compiled on Heroku
14
+ email: josh@joshpeek.com
15
+ executables: []
16
+ extensions:
17
+ - ext/xpdf/extconf.rb
18
+ extra_rdoc_files: []
19
+ files:
20
+ - ext/xpdf/extconf.rb
21
+ - lib/xpdf.rb
22
+ homepage: https://github.com/josh/ruby-xpdf
23
+ licenses: []
24
+ metadata: {}
25
+ post_install_message:
26
+ rdoc_options: []
27
+ require_paths:
28
+ - lib
29
+ required_ruby_version: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ required_rubygems_version: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ">="
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
39
+ requirements: []
40
+ rubyforge_project:
41
+ rubygems_version: 2.4.3
42
+ signing_key:
43
+ specification_version: 4
44
+ summary: Xpdf Ruby Wrapper
45
+ test_files: []