cmowforth-cups 0.0.4 → 0.0.5

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 (2) hide show
  1. data/ext/extconf.rb +5 -0
  2. metadata +4 -4
@@ -1,5 +1,10 @@
1
1
  require "mkmf"
2
2
 
3
+ unless have_library("cups") && find_executable("cups-config")
4
+ puts "Couldn't find CUPS libraries on your system. Check they're installed and in your path."
5
+ exit
6
+ end
7
+
3
8
  cups_cflags = `cups-config --cflags`.chomp
4
9
  cups_libs = `cups-config --libs`.chomp
5
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cmowforth-cups
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Mowforth
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-02-25 00:00:00 -08:00
12
+ date: 2009-04-08 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -25,7 +25,7 @@ extra_rdoc_files: []
25
25
  files: []
26
26
 
27
27
  has_rdoc: false
28
- homepage: http://cups.99th.st/
28
+ homepage: http://cups.rubyforge.org/
29
29
  post_install_message:
30
30
  rdoc_options: []
31
31
 
@@ -45,7 +45,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
45
45
  version:
46
46
  requirements: []
47
47
 
48
- rubyforge_project:
48
+ rubyforge_project: cups
49
49
  rubygems_version: 1.2.0
50
50
  signing_key:
51
51
  specification_version: 2