Sha256: 32b5d60bf85b47c9eedd21133a71dae4f75576ad625c3cc423689ad21cc083de

Contents?: true

Size: 693 Bytes

Versions: 3

Compression:

Stored size: 693 Bytes

Contents

require 'mkmf'

system("export PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig:$PKG_CONFIG_PATH")

have_library("xml2")
find_header("libxml/tree.h", "/usr/include/libxml2", "/usr/local/include/libxml2")
find_header("libxml/parser.h", "/usr/include/libxml2", "/usr/local/include/libxml2")
find_header("libxml/xpath.h", "/usr/include/libxml2", "/usr/local/include/libxml2")
find_header("libxml/xpathInternals.h", "/usr/include/libxml2", "/usr/local/include/libxml2")

have_library("pangocairo-1.0")

$LDFLAGS += " #{`pkg-config --static --libs glib-2.0 gdk-pixbuf-2.0 cairo pango`}"
$CFLAGS += " #{`pkg-config --cflags glib-2.0 gdk-pixbuf-2.0 cairo pango`}"

create_makefile("mathematical/mathematical")

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mathematical-0.3.0 ext/mathematical/extconf.rb
mathematical-0.2.3 ext/mathematical/extconf.rb
mathematical-0.2.1 ext/mathematical/extconf.rb