mathematical 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d847a110a6155cc7cf47622056c85bb8797dee9e
4
- data.tar.gz: b13d2351a5109be33b89237c9140a30d03ec9380
3
+ metadata.gz: f255eab0881eb572422d7cffeb79f042b70a4223
4
+ data.tar.gz: 99cdee5873c832ef1de1f1668ef15978115dbc0e
5
5
  SHA512:
6
- metadata.gz: 76c42106d9d5aaf9f3fe5006ac63a16b8203a43e3848fd96d76d82709bf4bd79c61a7958f9d58f42301053b6b4ea9e61a9eb69d3be7015f9db97327e81edef44
7
- data.tar.gz: 7f4892f5fc6899351880be724e7d7d25c17999d1539ba6ea5ba1229c8d57e4e1203a6206489d10ea361cf242e3a35f774d56ca2658150fe33e50fd3008d9fb05
6
+ metadata.gz: 1f6cf81feedc4802c96446414ca66cc167805824d5daff5bc158a9f1cfb454dc6d50e71de834e696d8bc7efa7d4d9de100b5644cc1c72bcd356318b852c565d7
7
+ data.tar.gz: c1334de8292283e8add116476d51db40792563eaef801561722e84b4055f6d37f1ee88e45eb94bb39ddbbf0eb9a8cad7f5b79cb9c0c9280ffb0cc5627ce2aba1
@@ -2,8 +2,8 @@ require 'mkmf'
2
2
  require 'rbconfig'
3
3
  host_os = RbConfig::CONFIG['host_os']
4
4
 
5
- LASEM_DIR = File.join(File.dirname(__FILE__), 'lasem', 'src')
6
- MTEX2MML_DIR = File.join(File.dirname(__FILE__), 'mtex2MML')
5
+ LASEM_DIR = File.expand_path(File.join(File.dirname(__FILE__), 'lasem', 'src'))
6
+ MTEX2MML_DIR = File.expand_path(File.join(File.dirname(__FILE__), 'mtex2MML'))
7
7
 
8
8
  if host_os =~ /darwin|mac os/
9
9
  ENV['PKG_CONFIG_PATH'] = "/opt/X11/lib/pkgconfig:#{ENV['PKG_CONFIG_PATH']}"
@@ -27,7 +27,7 @@ Dir.chdir(MTEX2MML_DIR) do
27
27
  system 'make'
28
28
  end
29
29
 
30
- FileUtils.cp_r(Dir.glob("#{MTEX2MML_DIR}/build/*.{h}"), File.dirname(__FILE__))
30
+ FileUtils.cp_r(Dir.glob(File.join(MTEX2MML_DIR, 'build', '*.{a,h}')), File.dirname(__FILE__))
31
31
 
32
32
  $LDFLAGS << " #{`pkg-config --static --libs glib-2.0 gdk-pixbuf-2.0 cairo pango`.chomp}"
33
33
  $CFLAGS << " -g -O2 #{`pkg-config --cflags glib-2.0 gdk-pixbuf-2.0 cairo pango`.chomp} -I#{LASEM_DIR}"