potracer 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/potracer/extconf.rb +12 -4
- metadata +2 -2
data/ext/potracer/extconf.rb
CHANGED
@@ -2,10 +2,18 @@ require 'mkmf'
|
|
2
2
|
|
3
3
|
RbConfig::MAKEFILE_CONFIG['CC'] = ENV['CC'] if ENV['CC']
|
4
4
|
|
5
|
-
|
5
|
+
LIBDIR = RbConfig::CONFIG['libdir']
|
6
|
+
INCLUDEDIR = RbConfig::CONFIG['includedir']
|
6
7
|
|
7
|
-
|
8
|
-
|
8
|
+
HEADER_DIRS = ['/opt/local/include', '/usr/local/include', INCLUDEDIR,
|
9
|
+
'/usr/include']
|
10
|
+
|
11
|
+
LIB_DIRS = ['/opt/local/lib', '/usr/local/lib', LIBDIR, '/usr/lib']
|
12
|
+
|
13
|
+
dir_config('potrace', HEADER_DIRS, LIB_DIRS)
|
14
|
+
|
15
|
+
abort "potracelib.h not found" unless find_header('potracelib.h')
|
16
|
+
abort "lib potrace not found" unless find_library('potrace', 'potrace_version')
|
9
17
|
|
10
18
|
create_header
|
11
|
-
create_makefile(
|
19
|
+
create_makefile('potracer/potracer')
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: potracer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-11 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Ruby bindings for the potrace library.
|
15
15
|
email: k.parnell@gmail.com
|