bindings/ruby/extconf.rb
author Mikael Hallendal <micke@imendio.com>
Thu, 10 Apr 2008 21:30:17 +0200
changeset 390 8623ce9ef39d
parent 350 de2e3f3631c9
permissions -rw-r--r--
moved extension code to src

require 'pkg-config'

PACKAGE_NAME = "loudmouth"
PACKAGE_ID = "loudmouth"

# SRCDIR = File.expand_path(File.dirname(__FILE__) + '/src')

require 'mkmf'

srcdir = File.join(File.expand_path(File.dirname(__FILE__)), 'src')

PKGConfig.have_package("loudmouth-1.0", 1, 3, 4) or exit 1
PKGConfig.have_package("glib-2.0", 2, 4, 0) or exit 1

create_makefile("loudmouth", srcdir)