cmowforth-cups 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/extconf.rb +8 -12
- metadata +3 -3
data/ext/extconf.rb
CHANGED
@@ -1,14 +1,10 @@
|
|
1
|
-
|
2
|
-
warn("Couldn't find cups-config. Do you have libcups installed?")
|
3
|
-
else
|
4
|
-
require "mkmf"
|
5
|
-
|
6
|
-
cups_cflags = `cups-config --cflags`.chomp
|
7
|
-
cups_libs = `cups-config --libs`.chomp
|
1
|
+
require "mkmf"
|
8
2
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
3
|
+
cups_cflags = `cups-config --cflags`.chomp
|
4
|
+
cups_libs = `cups-config --libs`.chomp
|
5
|
+
|
6
|
+
with_cflags(cups_cflags) {
|
7
|
+
with_ldflags(cups_libs) {
|
8
|
+
create_makefile("cups")
|
13
9
|
}
|
14
|
-
|
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
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Mowforth
|
@@ -20,8 +20,8 @@ executables: []
|
|
20
20
|
|
21
21
|
extensions:
|
22
22
|
- ext/extconf.rb
|
23
|
-
extra_rdoc_files:
|
24
|
-
|
23
|
+
extra_rdoc_files: []
|
24
|
+
|
25
25
|
files: []
|
26
26
|
|
27
27
|
has_rdoc: false
|