aboutsummaryrefslogtreecommitdiff
path: root/bindings/ruby/extconf.rb
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-11-08 10:08:27 -0800
committerCarl Worth <cworth@cworth.org>2010-11-08 10:08:34 -0800
commit44ea57a0d10ddab514abea319c4d25ec4e36b51e (patch)
treee2bf63e6c1f54b21650c51356b78b29042a56848 /bindings/ruby/extconf.rb
parentdedd7918a33a002923954c1333bd6729cdc3d03f (diff)
parent5c9e385591b66fa20cbb186393c48c52831a23b7 (diff)
Merge in ruby bindings.
Thanks to Ali Polatel for these bindings. This code was fetched from the ruby branch of: git://github.com/alip/notmuch.git
Diffstat (limited to 'bindings/ruby/extconf.rb')
-rw-r--r--bindings/ruby/extconf.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/bindings/ruby/extconf.rb b/bindings/ruby/extconf.rb
new file mode 100644
index 00000000..a9d9d42b
--- /dev/null
+++ b/bindings/ruby/extconf.rb
@@ -0,0 +1,15 @@
+#!/usr/bin/env ruby
+# coding: utf-8
+# vim: set sw=2 sts=2 et nowrap fenc=utf-8 :
+# Copyright 2010 Ali Polatel <alip@exherbo.org>
+# Distributed under the terms of the GNU General Public License v3
+
+require 'mkmf'
+
+# Notmuch Library
+find_header('notmuch.h', '../../lib')
+find_library('notmuch', 'notmuch_database_create', '../../lib')
+
+# Create Makefile
+dir_config('notmuch')
+create_makefile('notmuch')